Class: EYCli::Command::Accounts
- Defined in:
- lib/ey_cli/commands/accounts.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
- #help ⇒ Object
-
#initialize ⇒ Accounts
constructor
A new instance of Accounts.
- #invoke ⇒ Object
Methods inherited from Base
Constructor Details
#initialize ⇒ Accounts
Returns a new instance of Accounts.
4 5 6 |
# File 'lib/ey_cli/commands/accounts.rb', line 4 def initialize @accounts = EYCli::Controller::Accounts.new end |
Instance Method Details
#help ⇒ Object
18 19 20 21 22 23 |
# File 'lib/ey_cli/commands/accounts.rb', line 18 def help <<-EOF Usage: ey_cli accounts Note: it shows the accounts that belong to you and also the ones that you are collaborating with. EOF end |