Class: GemCP::Tools::GetOwners
- Defined in:
- lib/gemcp/tools/get_owners.rb
Overview
Fetch public owner/maintainer data for a gem.
Instance Method Summary collapse
-
#call(name:) ⇒ Hash
MCP response.
Methods inherited from Base
Constructor Details
This class inherits a constructor from GemCP::Tools::Base
Instance Method Details
#call(name:) ⇒ Hash
Returns MCP response.
16 17 18 |
# File 'lib/gemcp/tools/get_owners.rb', line 16 def call(name:) render(with_errors { { name: name, owners: client.owners(name) } }) end |