Class: Lightspeed::API::Accounts
- Inherits:
-
Object
- Object
- Lightspeed::API::Accounts
- Defined in:
- lib/lightspeed/api/accounts.rb
Instance Method Summary collapse
- #all ⇒ Object
-
#initialize(client) ⇒ Accounts
constructor
A new instance of Accounts.
Constructor Details
#initialize(client) ⇒ Accounts
Returns a new instance of Accounts.
4 5 6 |
# File 'lib/lightspeed/api/accounts.rb', line 4 def initialize(client) @client = client end |
Instance Method Details
#all ⇒ Object
8 9 10 |
# File 'lib/lightspeed/api/accounts.rb', line 8 def all client.get("Account.json").body end |