Class: Astropay::Configuration
- Inherits:
-
Object
- Object
- Astropay::Configuration
- Defined in:
- lib/astropay/configuration.rb
Instance Attribute Summary collapse
-
#sandbox ⇒ Object
Returns the value of attribute sandbox.
-
#secret_key ⇒ Object
Returns the value of attribute secret_key.
-
#ssl_enabled ⇒ Object
Returns the value of attribute ssl_enabled.
-
#x_login ⇒ Object
Returns the value of attribute x_login.
-
#x_login_webpaystatus ⇒ Object
Returns the value of attribute x_login_webpaystatus.
-
#x_trans_key ⇒ Object
Returns the value of attribute x_trans_key.
-
#x_trans_key_webpaystatus ⇒ Object
Returns the value of attribute x_trans_key_webpaystatus.
Instance Method Summary collapse
Instance Attribute Details
#sandbox ⇒ Object
Returns the value of attribute sandbox.
5 6 7 |
# File 'lib/astropay/configuration.rb', line 5 def sandbox @sandbox end |
#secret_key ⇒ Object
Returns the value of attribute secret_key.
5 6 7 |
# File 'lib/astropay/configuration.rb', line 5 def secret_key @secret_key end |
#ssl_enabled ⇒ Object
Returns the value of attribute ssl_enabled.
5 6 7 |
# File 'lib/astropay/configuration.rb', line 5 def ssl_enabled @ssl_enabled end |
#x_login ⇒ Object
Returns the value of attribute x_login.
5 6 7 |
# File 'lib/astropay/configuration.rb', line 5 def x_login @x_login end |
#x_login_webpaystatus ⇒ Object
Returns the value of attribute x_login_webpaystatus.
5 6 7 |
# File 'lib/astropay/configuration.rb', line 5 def x_login_webpaystatus @x_login_webpaystatus end |
#x_trans_key ⇒ Object
Returns the value of attribute x_trans_key.
5 6 7 |
# File 'lib/astropay/configuration.rb', line 5 def x_trans_key @x_trans_key end |
#x_trans_key_webpaystatus ⇒ Object
Returns the value of attribute x_trans_key_webpaystatus.
5 6 7 |
# File 'lib/astropay/configuration.rb', line 5 def x_trans_key_webpaystatus @x_trans_key_webpaystatus end |
Instance Method Details
#credentials ⇒ Object
8 9 10 11 12 13 |
# File 'lib/astropay/configuration.rb', line 8 def credentials { 'x_login' => x_login, 'x_trans_key' => x_trans_key } end |
#webpaystatus_credentials ⇒ Object
15 16 17 18 19 20 |
# File 'lib/astropay/configuration.rb', line 15 def webpaystatus_credentials { 'x_login_webpaystatus' => x_login_webpaystatus, 'x_trans_key_webpaystatus' => x_trans_key_webpaystatus } end |