Module: PaylineSDK

Defined in:
lib/payline_sdk.rb,
lib/payline_sdk/client.rb,
lib/payline_sdk/request.rb,
lib/payline_sdk/version.rb,
lib/payline_sdk/object/base.rb,
lib/payline_sdk/configuration.rb

Defined Under Namespace

Modules: Object Classes: Client, Configuration, Request

Constant Summary collapse

VERSION =
"0.0.4"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



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

def configuration
  @configuration
end

Class Method Details

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

Yields:



17
18
19
20
21
# File 'lib/payline_sdk.rb', line 17

def self.configure
  self.configuration ||= Configuration.new
  self.define_objects
  yield(configuration)
end

.rootObject



23
24
25
# File 'lib/payline_sdk.rb', line 23

def self.root
  File.expand_path '../..', __FILE__
end