Module: PayEx
Defined Under Namespace
Modules: API, CreditCardRedirect, PxOrder Classes: Error
Constant Summary collapse
- TEST_URL =
'https://test-external.payex.com'
- LIVE_URL =
'https://external.payex.com'
Instance Attribute Summary collapse
-
#account_number ⇒ Object
Returns the value of attribute account_number.
-
#base_url ⇒ Object
Returns the value of attribute base_url.
-
#default_currency ⇒ Object
Returns the value of attribute default_currency.
-
#encryption_key ⇒ Object
Returns the value of attribute encryption_key.
Instance Method Summary collapse
Instance Attribute Details
#account_number ⇒ Object
Returns the value of attribute account_number.
11 12 13 |
# File 'lib/payex.rb', line 11 def account_number @account_number end |
#base_url ⇒ Object
Returns the value of attribute base_url.
7 8 9 |
# File 'lib/payex.rb', line 7 def base_url @base_url end |
#default_currency ⇒ Object
Returns the value of attribute default_currency.
13 14 15 |
# File 'lib/payex.rb', line 13 def default_currency @default_currency end |
#encryption_key ⇒ Object
Returns the value of attribute encryption_key.
12 13 14 |
# File 'lib/payex.rb', line 12 def encryption_key @encryption_key end |
Instance Method Details
#account_number! ⇒ Object
15 16 17 |
# File 'lib/payex.rb', line 15 def account_number! account_number or fail 'Please set PayEx.account_number' end |
#default_currency! ⇒ Object
23 24 25 |
# File 'lib/payex.rb', line 23 def default_currency! default_currency or fail 'Please set PayEx.default_currency' end |
#encryption_key! ⇒ Object
19 20 21 |
# File 'lib/payex.rb', line 19 def encryption_key! encryption_key or fail 'Please set PayEx.encryption_key' end |