Module: BrightpearlApi
- Defined in:
- lib/brightpearl_api.rb,
lib/brightpearl_api/client.rb,
lib/brightpearl_api/service.rb,
lib/brightpearl_api/version.rb,
lib/brightpearl_api/configuration.rb,
lib/brightpearl_api/services/order.rb,
lib/brightpearl_api/services/contact.rb,
lib/brightpearl_api/services/product.rb,
lib/brightpearl_api/services/warehouse.rb
Defined Under Namespace
Classes: AuthException, BrightpearlException, Client, Configuration, DatabaseException, Service, ThrottleException
Constant Summary collapse
- VERSION =
"1.3.1"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
9 10 11 |
# File 'lib/brightpearl_api.rb', line 9 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
17 18 19 20 21 |
# File 'lib/brightpearl_api.rb', line 17 def self.configure Configuration.instance.init self.configuration ||= Configuration.instance yield(configuration) end |