Class: PaygatePk::Config::ProviderConfig
- Inherits:
-
Object
- Object
- PaygatePk::Config::ProviderConfig
- Defined in:
- lib/paygate_pk/config.rb
Overview
Provider-specific configuration
Instance Attribute Summary collapse
-
#api_base_url ⇒ Object
Returns the value of attribute api_base_url.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#checkout_mode ⇒ Object
Returns the value of attribute checkout_mode.
-
#merchant_id ⇒ Object
Returns the value of attribute merchant_id.
-
#password ⇒ Object
Returns the value of attribute password.
-
#secured_key ⇒ Object
Returns the value of attribute secured_key.
-
#store_id ⇒ Object
Returns the value of attribute store_id.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ ProviderConfig
constructor
A new instance of ProviderConfig.
Constructor Details
#initialize ⇒ ProviderConfig
Returns a new instance of ProviderConfig.
34 35 36 37 38 39 40 41 42 43 |
# File 'lib/paygate_pk/config.rb', line 34 def initialize @base_url = nil @merchant_id = nil @secured_key = nil @checkout_mode = :immediate @username = nil @password = nil @store_id = nil @api_base_url = nil end |
Instance Attribute Details
#api_base_url ⇒ Object
Returns the value of attribute api_base_url.
31 32 33 |
# File 'lib/paygate_pk/config.rb', line 31 def api_base_url @api_base_url end |
#base_url ⇒ Object
Returns the value of attribute base_url.
31 32 33 |
# File 'lib/paygate_pk/config.rb', line 31 def base_url @base_url end |
#checkout_mode ⇒ Object
Returns the value of attribute checkout_mode.
31 32 33 |
# File 'lib/paygate_pk/config.rb', line 31 def checkout_mode @checkout_mode end |
#merchant_id ⇒ Object
Returns the value of attribute merchant_id.
31 32 33 |
# File 'lib/paygate_pk/config.rb', line 31 def merchant_id @merchant_id end |
#password ⇒ Object
Returns the value of attribute password.
31 32 33 |
# File 'lib/paygate_pk/config.rb', line 31 def password @password end |
#secured_key ⇒ Object
Returns the value of attribute secured_key.
31 32 33 |
# File 'lib/paygate_pk/config.rb', line 31 def secured_key @secured_key end |
#store_id ⇒ Object
Returns the value of attribute store_id.
31 32 33 |
# File 'lib/paygate_pk/config.rb', line 31 def store_id @store_id end |
#username ⇒ Object
Returns the value of attribute username.
31 32 33 |
# File 'lib/paygate_pk/config.rb', line 31 def username @username end |