method
manage_owners

v2_6_3 -
Show latest stable
-
0 notes -
Class: OwnerCommand
- 1_8_6_287
- 1_8_7_72
- 1_8_7_330
- 1_9_1_378
- 1_9_2_180
- 1_9_3_125 (0)
- 1_9_3_392 (0)
- 2_1_10 (0)
- 2_2_9 (0)
- 2_4_6 (0)
- 2_5_5 (0)
- 2_6_3 (0)
- What's this?
manage_owners(method, name, owners)
public
Hide source
# File lib/rubygems/commands/owner_command.rb, line 88 def manage_owners(method, name, owners) owners.each do |owner| begin response = send_owner_request(method, name, owner) if need_otp? response response = send_owner_request(method, name, owner, true) end action = method == :delete ? "Removing" : "Adding" with_response response, "#{action} #{owner}" rescue # ignore end end end