Class: Pennyworth::CLI::Actions::GitHub::User
- Inherits:
-
Sod::Action
- Object
- Sod::Action
- Pennyworth::CLI::Actions::GitHub::User
- 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 |