Class: PaylineSDK::Configuration
- Inherits:
-
Object
- Object
- PaylineSDK::Configuration
- Defined in:
- lib/payline_sdk/configuration.rb
Constant Summary collapse
- API =
YAML.load(File.read([(File. '../../..', __FILE__), 'files', 'settings.yml'].join('/'))).freeze
Instance Attribute Summary collapse
-
#access_key ⇒ Object
Returns the value of attribute access_key.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#file ⇒ Object
Returns the value of attribute file.
-
#merchant_id ⇒ Object
Returns the value of attribute merchant_id.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 |
# File 'lib/payline_sdk/configuration.rb', line 8 def initialize @file = [PaylineSDK.root, 'files', 'payline.wsdl'].join('/') end |
Instance Attribute Details
#access_key ⇒ Object
Returns the value of attribute access_key.
6 7 8 |
# File 'lib/payline_sdk/configuration.rb', line 6 def access_key @access_key end |
#environment ⇒ Object
Returns the value of attribute environment.
6 7 8 |
# File 'lib/payline_sdk/configuration.rb', line 6 def environment @environment end |
#file ⇒ Object
Returns the value of attribute file.
6 7 8 |
# File 'lib/payline_sdk/configuration.rb', line 6 def file @file end |
#merchant_id ⇒ Object
Returns the value of attribute merchant_id.
6 7 8 |
# File 'lib/payline_sdk/configuration.rb', line 6 def merchant_id @merchant_id end |