Class: Ecocash::Configuration
- Inherits:
-
Object
- Object
- Ecocash::Configuration
- Defined in:
- lib/ecocash/configuration.rb
Instance Attribute Summary collapse
-
#api_base_url ⇒ Object
Returns the value of attribute api_base_url.
-
#country_code ⇒ Object
Returns the value of attribute country_code.
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#description ⇒ Object
Returns the value of attribute description.
-
#location ⇒ Object
Returns the value of attribute location.
-
#merchant_code ⇒ Object
Returns the value of attribute merchant_code.
-
#merchant_name ⇒ Object
Returns the value of attribute merchant_name.
-
#merchant_number ⇒ Object
Returns the value of attribute merchant_number.
-
#merchant_pin ⇒ Object
Returns the value of attribute merchant_pin.
-
#notify_url ⇒ Object
Returns the value of attribute notify_url.
-
#on_behalf_of ⇒ Object
Returns the value of attribute on_behalf_of.
-
#password ⇒ Object
Returns the value of attribute password.
-
#payment_remarks ⇒ Object
Returns the value of attribute payment_remarks.
-
#purchase_category_code ⇒ Object
Returns the value of attribute purchase_category_code.
-
#reference_code ⇒ Object
Returns the value of attribute reference_code.
-
#refund_remarks ⇒ Object
Returns the value of attribute refund_remarks.
-
#super_merchant_name ⇒ Object
Returns the value of attribute super_merchant_name.
-
#terminal_id ⇒ Object
Returns the value of attribute terminal_id.
-
#username ⇒ Object
Returns the value of attribute username.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/ecocash/configuration.rb', line 23 def initialize @username = nil @password = nil @notify_url = nil @refund_remarks = nil @payment_remarks = nil @on_behalf_of = nil @merchant_code = nil @merchant_pin = nil @merchant_number = nil @country_code = nil @api_base_url = nil @currency_code = nil @terminal_id = nil @location = nil @super_merchant_name = nil @merchant_name = nil @purchase_category_code = nil @description = nil @reference_code = nil end |
Instance Attribute Details
#api_base_url ⇒ Object
Returns the value of attribute api_base_url.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def api_base_url @api_base_url end |
#country_code ⇒ Object
Returns the value of attribute country_code.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def country_code @country_code end |
#currency_code ⇒ Object
Returns the value of attribute currency_code.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def currency_code @currency_code end |
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def description @description end |
#location ⇒ Object
Returns the value of attribute location.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def location @location end |
#merchant_code ⇒ Object
Returns the value of attribute merchant_code.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def merchant_code @merchant_code end |
#merchant_name ⇒ Object
Returns the value of attribute merchant_name.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def merchant_name @merchant_name end |
#merchant_number ⇒ Object
Returns the value of attribute merchant_number.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def merchant_number @merchant_number end |
#merchant_pin ⇒ Object
Returns the value of attribute merchant_pin.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def merchant_pin @merchant_pin end |
#notify_url ⇒ Object
Returns the value of attribute notify_url.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def notify_url @notify_url end |
#on_behalf_of ⇒ Object
Returns the value of attribute on_behalf_of.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def on_behalf_of @on_behalf_of end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def password @password end |
#payment_remarks ⇒ Object
Returns the value of attribute payment_remarks.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def payment_remarks @payment_remarks end |
#purchase_category_code ⇒ Object
Returns the value of attribute purchase_category_code.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def purchase_category_code @purchase_category_code end |
#reference_code ⇒ Object
Returns the value of attribute reference_code.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def reference_code @reference_code end |
#refund_remarks ⇒ Object
Returns the value of attribute refund_remarks.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def refund_remarks @refund_remarks end |
#super_merchant_name ⇒ Object
Returns the value of attribute super_merchant_name.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def super_merchant_name @super_merchant_name end |
#terminal_id ⇒ Object
Returns the value of attribute terminal_id.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def terminal_id @terminal_id end |
#username ⇒ Object
Returns the value of attribute username.
3 4 5 |
# File 'lib/ecocash/configuration.rb', line 3 def username @username end |