Module: TinyErpApi

Defined in:
lib/tiny_erp_api.rb,
lib/tiny_erp_api/order.rb,
lib/tiny_erp_api/client.rb,
lib/tiny_erp_api/seller.rb,
lib/tiny_erp_api/product.rb,
lib/tiny_erp_api/version.rb,
lib/tiny_erp_api/customer.rb

Defined Under Namespace

Classes: Client, Configuration, Customer, Error, Order, Product, Seller

Constant Summary collapse

VERSION =
"1.0.1"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



22
23
24
# File 'lib/tiny_erp_api.rb', line 22

def configuration
  @configuration
end

Class Method Details

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

Yields:



25
26
27
28
# File 'lib/tiny_erp_api.rb', line 25

def self.configure
  self.configuration ||= Configuration.new
  yield configuration
end