Module: Lightspeed

Defined in:
lib/lightspeed/client.rb,
lib/lightspeed/version.rb,
lib/lightspeed/api/error.rb,
lib/lightspeed/api/items.rb,
lib/lightspeed/api/sales.rb,
lib/lightspeed/api/tokens.rb,
lib/lightspeed/api/accounts.rb,
lib/lightspeed/api/customers.rb,
lib/lightspeed/configuration.rb,
lib/lightspeed/api/categories.rb,
lib/lightspeed/api/sales/sale_lines.rb,
lib/lightspeed/api/helpers/pagination.rb,
lib/lightspeed/api/items/custom_fields.rb,
lib/lightspeed/errors/missing_refresh_token.rb,
lib/lightspeed/api/items/custom_fields/custom_field_choices.rb

Defined Under Namespace

Modules: API, Errors Classes: Client, Configuration

Constant Summary collapse

VERSION =
"0.3.1"

Class Method Summary collapse

Class Method Details

.configurationObject



11
12
13
# File 'lib/lightspeed/client.rb', line 11

def self.configuration
  @_configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



15
16
17
# File 'lib/lightspeed/client.rb', line 15

def self.configure
  yield configuration
end