method
show_owners
v2_1_10 -
Show latest stable
- Class:
Gem::Commands::OwnerCommand
show_owners(name)public
No documentation available.
# File lib/rubygems/commands/owner_command.rb, line 58
def show_owners name
response = rubygems_api_request :get, "api/v1/gems/#{name}/owners.yaml" do |request|
request.add_field "Authorization", api_key
end
with_response response do |resp|
owners = YAML.load resp.body
say "Owners for gem: #{name}"
owners.each do |owner|
say "- #{owner['email']}"
end
end
end