Class: Pennyworth::CLI::Actions::Gem

Inherits:
Sod::Action
  • Object
show all
Defined in:
lib/pennyworth/cli/actions/gem.rb

Overview

Handles the RubyGem action.

Instance Method Summary collapse

Instance Method Details

#call(handle = default) ⇒ Object



18
# File 'lib/pennyworth/cli/actions/gem.rb', line 18

def call(handle = default) = io.puts processor.call("owners/#{handle}/gems.json").to_json