Class: Accounts
Overview
Account endpoints
Instance Attribute Summary
Attributes inherited from Resource
Instance Method Summary collapse
Methods inherited from Resource
#base_delete, #base_get, #base_post, #base_put, #base_request, #initialize
Constructor Details
This class inherits a constructor from Resource
Instance Method Details
#get(id) ⇒ Object
11 12 13 |
# File 'lib/onvo/accounts.rb', line 11 def get(id) base_get("/accounts/#{id}") end |
#list ⇒ Object
7 8 9 |
# File 'lib/onvo/accounts.rb', line 7 def list base_get('/accounts') end |