Module: KcSdkCompany

Defined in:
lib/kc-sdk-company.rb,
lib/kc-sdk-company/api.rb,
lib/kc-sdk-company/engine.rb,
lib/kc-sdk-company/version.rb,
lib/kc-sdk-company/api/base.rb,
lib/kc-sdk-company/api/orders.rb,
lib/kc-sdk-company/configuration.rb

Defined Under Namespace

Classes: Api, Configuration, Engine

Constant Summary collapse

VERSION =
'0.1.0'.freeze

Class Method Summary collapse

Class Method Details

.apiObject



17
18
19
# File 'lib/kc-sdk-company.rb', line 17

def self.api
  @api ||= Api.new
end

.configurationObject



13
14
15
# File 'lib/kc-sdk-company.rb', line 13

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

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

Yields:



9
10
11
# File 'lib/kc-sdk-company.rb', line 9

def self.configure
  yield configuration
end