Class: CcavenuePayment::Config
- Inherits:
-
Object
- Object
- CcavenuePayment::Config
- Defined in:
- lib/ccavenue_payment/config.rb
Class Method Summary collapse
Class Method Details
.access_code ⇒ Object
12 13 14 |
# File 'lib/ccavenue_payment/config.rb', line 12 def access_code ENV.fetch('CCAVENUE_ACCESS_CODE').freeze end |
.merchant_id ⇒ Object
4 5 6 |
# File 'lib/ccavenue_payment/config.rb', line 4 def merchant_id ENV.fetch('CCAVENUE_MERCHANT_ID').freeze end |
.mode ⇒ Object
16 17 18 |
# File 'lib/ccavenue_payment/config.rb', line 16 def mode ENV.fetch('CCAVENUE_MODE').freeze end |
.working_key ⇒ Object
8 9 10 |
# File 'lib/ccavenue_payment/config.rb', line 8 def working_key ENV.fetch('CCAVENUE_WORKING_KEY').freeze end |