Class: AstroPay::Configuration
- Inherits:
-
Object
- Object
- AstroPay::Configuration
- Defined in:
- lib/astro_pay/configuration.rb
Instance Attribute Summary collapse
-
#card_x_login ⇒ Object
AstroPay Direct required attributes.
-
#card_x_trans_key ⇒ Object
AstroPay Direct required attributes.
-
#direct_secret_key ⇒ Object
Returns the value of attribute direct_secret_key.
-
#direct_x_login ⇒ Object
AstroPay Direct required attributes.
-
#direct_x_login_for_webpaystatus ⇒ Object
AstroPay Direct required attributes.
-
#direct_x_trans_key ⇒ Object
AstroPay Direct required attributes.
-
#direct_x_trans_key_for_webpaystatus ⇒ Object
Returns the value of attribute direct_x_trans_key_for_webpaystatus.
-
#enable_ssl ⇒ Object
Optional attributes.
-
#sandbox ⇒ Object
Optional attributes.
Instance Method Summary collapse
-
#initialize ⇒ AstroPay::Configuration
constructor
Creates a new instance of [AstroPay::Configuration].
Constructor Details
#initialize ⇒ AstroPay::Configuration
Creates a new instance of [AstroPay::Configuration].
17 18 19 20 |
# File 'lib/astro_pay/configuration.rb', line 17 def initialize @sandbox = true @enable_ssl = true end |
Instance Attribute Details
#card_x_login ⇒ Object
AstroPay Direct required attributes
8 9 10 |
# File 'lib/astro_pay/configuration.rb', line 8 def card_x_login @card_x_login end |
#card_x_trans_key ⇒ Object
AstroPay Direct required attributes
8 9 10 |
# File 'lib/astro_pay/configuration.rb', line 8 def card_x_trans_key @card_x_trans_key end |
#direct_secret_key ⇒ Object
Returns the value of attribute direct_secret_key.
5 6 7 |
# File 'lib/astro_pay/configuration.rb', line 5 def direct_secret_key @direct_secret_key end |
#direct_x_login ⇒ Object
AstroPay Direct required attributes
4 5 6 |
# File 'lib/astro_pay/configuration.rb', line 4 def direct_x_login @direct_x_login end |
#direct_x_login_for_webpaystatus ⇒ Object
AstroPay Direct required attributes
4 5 6 |
# File 'lib/astro_pay/configuration.rb', line 4 def direct_x_login_for_webpaystatus @direct_x_login_for_webpaystatus end |
#direct_x_trans_key ⇒ Object
AstroPay Direct required attributes
4 5 6 |
# File 'lib/astro_pay/configuration.rb', line 4 def direct_x_trans_key @direct_x_trans_key end |
#direct_x_trans_key_for_webpaystatus ⇒ Object
Returns the value of attribute direct_x_trans_key_for_webpaystatus.
5 6 7 |
# File 'lib/astro_pay/configuration.rb', line 5 def direct_x_trans_key_for_webpaystatus @direct_x_trans_key_for_webpaystatus end |
#enable_ssl ⇒ Object
Optional attributes
11 12 13 |
# File 'lib/astro_pay/configuration.rb', line 11 def enable_ssl @enable_ssl end |
#sandbox ⇒ Object
Optional attributes
11 12 13 |
# File 'lib/astro_pay/configuration.rb', line 11 def sandbox @sandbox end |