Module: Lightspeed

Defined in:
lib/lightspeed/client.rb,
lib/lightspeed/version.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/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.2.0"

Class Method Summary collapse

Class Method Details

.configurationObject



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

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

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

Yields:



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

def self.configure
  yield configuration
end