Class: PaylineSDK::Client
- Inherits:
-
Object
- Object
- PaylineSDK::Client
- Defined in:
- lib/payline_sdk/client.rb
Constant Summary collapse
- PAYLINE_NAMESPACE =
'http://obj.ws.payline.experian.com'.freeze
- PROD_ENDPOINT =
'https://services.payline.com/V4/services/'.freeze
- HOMO_ENDPOINT =
'https://homologation.payline.com/V4/services/'.freeze
- DIRECT_API =
'DirectPaymentAPI'.freeze
- EXTENDED_API =
'ExtendedAPI'.freeze
- WEB_API =
'WebPaymentAPI'.freeze
Instance Attribute Summary collapse
-
#attributes ⇒ Object
Returns the value of attribute attributes.
-
#direct_client ⇒ Object
Returns the value of attribute direct_client.
-
#extended_client ⇒ Object
Returns the value of attribute extended_client.
-
#web_client ⇒ Object
Returns the value of attribute web_client.
Instance Method Summary collapse
-
#initialize ⇒ Client
constructor
A new instance of Client.
Constructor Details
#initialize ⇒ Client
Returns a new instance of Client.
14 15 16 17 |
# File 'lib/payline_sdk/client.rb', line 14 def initialize @env = PaylineSDK.configuration.environment init_clients(PaylineSDK.configuration.file, PaylineSDK.configuration.merchant_id, PaylineSDK.configuration.access_key) end |
Instance Attribute Details
#attributes ⇒ Object
Returns the value of attribute attributes.
12 13 14 |
# File 'lib/payline_sdk/client.rb', line 12 def attributes @attributes end |
#direct_client ⇒ Object
Returns the value of attribute direct_client.
12 13 14 |
# File 'lib/payline_sdk/client.rb', line 12 def direct_client @direct_client end |
#extended_client ⇒ Object
Returns the value of attribute extended_client.
12 13 14 |
# File 'lib/payline_sdk/client.rb', line 12 def extended_client @extended_client end |
#web_client ⇒ Object
Returns the value of attribute web_client.
12 13 14 |
# File 'lib/payline_sdk/client.rb', line 12 def web_client @web_client end |