Class: Lightspeed::API::Accounts

Inherits:
Object
  • Object
show all
Defined in:
lib/lightspeed/api/accounts.rb

Instance Method Summary collapse

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

#allObject



8
9
10
# File 'lib/lightspeed/api/accounts.rb', line 8

def all
  client.get("Account.json").body
end