Flowdock
method

show_owners

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: OwnerCommand
show_owners(name) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/owner_command.rb, line 41
  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
Register or log in to add new notes.