Class: Weekdone::Cli::Company
- Inherits:
-
Thor
- Object
- Thor
- Weekdone::Cli::Company
- Includes:
- Weekdone::Cli
- Defined in:
- lib/weekdone/cli/command_company.rb
Constant Summary
Constants included from Weekdone::Cli
Instance Method Summary collapse
Methods included from Weekdone::Cli
Instance Method Details
#info ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/weekdone/cli/command_company.rb', line 14 def info client = build_client info = client.getCompanyInfo Credential.write_credential(client.token_hash) Output.format(info, format: :json) end |