Class: Bygpay::Configuration
- Inherits:
-
Object
- Object
- Bygpay::Configuration
- Defined in:
- lib/bygpay/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#deposit_card_path ⇒ Object
Returns the value of attribute deposit_card_path.
-
#deposit_expresspay_path ⇒ Object
Returns the value of attribute deposit_expresspay_path.
-
#deposit_hubtel_path ⇒ Object
Returns the value of attribute deposit_hubtel_path.
-
#deposit_mobile_path ⇒ Object
Returns the value of attribute deposit_mobile_path.
-
#deposit_paystack_path ⇒ Object
Returns the value of attribute deposit_paystack_path.
-
#deposit_rave_path ⇒ Object
Returns the value of attribute deposit_rave_path.
-
#deposit_status_overide_path ⇒ Object
Returns the value of attribute deposit_status_overide_path.
-
#deposit_status_path ⇒ Object
Returns the value of attribute deposit_status_path.
-
#withdraw_mobile_path ⇒ Object
Returns the value of attribute withdraw_mobile_path.
-
#withdraw_status_overide_path ⇒ Object
Returns the value of attribute withdraw_status_overide_path.
-
#withdraw_status_path ⇒ Object
Returns the value of attribute withdraw_status_path.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/bygpay/configuration.rb', line 9 def initialize @base_url = nil @api_key = nil # Preset default paths but allow for changes @deposit_mobile_path = '/deposits/mobile' @deposit_rave_path = '/deposits/rave-redirect' @deposit_paystack_path = '/deposits/paystack' @deposit_hubtel_path = '/deposits/hubtel' @deposit_expresspay_path = '/deposits/expresspay' @deposit_card_path = '/deposits/card' @deposit_status_overide_path = '/deposits/status-overide' @deposit_status_path = '/deposits' @withdraw_mobile_path = '/withdrawals/mobile' @withdraw_status_overide_path = '/withdrawals/status-overide' @withdraw_status_path = '/withdrawals' end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def api_key @api_key end |
#base_url ⇒ Object
Returns the value of attribute base_url.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def base_url @base_url end |
#deposit_card_path ⇒ Object
Returns the value of attribute deposit_card_path.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def deposit_card_path @deposit_card_path end |
#deposit_expresspay_path ⇒ Object
Returns the value of attribute deposit_expresspay_path.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def deposit_expresspay_path @deposit_expresspay_path end |
#deposit_hubtel_path ⇒ Object
Returns the value of attribute deposit_hubtel_path.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def deposit_hubtel_path @deposit_hubtel_path end |
#deposit_mobile_path ⇒ Object
Returns the value of attribute deposit_mobile_path.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def deposit_mobile_path @deposit_mobile_path end |
#deposit_paystack_path ⇒ Object
Returns the value of attribute deposit_paystack_path.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def deposit_paystack_path @deposit_paystack_path end |
#deposit_rave_path ⇒ Object
Returns the value of attribute deposit_rave_path.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def deposit_rave_path @deposit_rave_path end |
#deposit_status_overide_path ⇒ Object
Returns the value of attribute deposit_status_overide_path.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def deposit_status_overide_path @deposit_status_overide_path end |
#deposit_status_path ⇒ Object
Returns the value of attribute deposit_status_path.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def deposit_status_path @deposit_status_path end |
#withdraw_mobile_path ⇒ Object
Returns the value of attribute withdraw_mobile_path.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def withdraw_mobile_path @withdraw_mobile_path end |
#withdraw_status_overide_path ⇒ Object
Returns the value of attribute withdraw_status_overide_path.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def withdraw_status_overide_path @withdraw_status_overide_path end |
#withdraw_status_path ⇒ Object
Returns the value of attribute withdraw_status_path.
3 4 5 |
# File 'lib/bygpay/configuration.rb', line 3 def withdraw_status_path @withdraw_status_path end |