Class: Pennyworth::CLI::Actions::GitHub::User

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

Overview

Handles the GitHub user action.

Instance Method Summary collapse

Instance Method Details

#call(handle = default) ⇒ Object



19
# File 'lib/pennyworth/cli/actions/git_hub/user.rb', line 19

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