Class: CloudParty::Nodes::Accounts
- Inherits:
-
Object
- Object
- CloudParty::Nodes::Accounts
- Includes:
- Context, HTTParty
- Defined in:
- lib/cloud_party/nodes/accounts.rb
Instance Method Summary collapse
-
#initialize(options = nil) ⇒ Accounts
constructor
A new instance of Accounts.
- #list ⇒ Object
Methods included from Context
Constructor Details
#initialize(options = nil) ⇒ Accounts
Returns a new instance of Accounts.
16 17 18 19 |
# File 'lib/cloud_party/nodes/accounts.rb', line 16 def initialize( = nil) super() @options = end |
Instance Method Details
#list ⇒ Object
21 22 23 |
# File 'lib/cloud_party/nodes/accounts.rb', line 21 def list CloudParty::Responses::Accounts.new(:get, '/accounts', self.class.get('/accounts'), @options) end |