Class: CcavenuePayment::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/ccavenue_payment/config.rb

Class Method Summary collapse

Class Method Details

.access_codeObject



12
13
14
# File 'lib/ccavenue_payment/config.rb', line 12

def access_code
  ENV.fetch('CCAVENUE_ACCESS_CODE').freeze
end

.merchant_idObject



4
5
6
# File 'lib/ccavenue_payment/config.rb', line 4

def merchant_id
  ENV.fetch('CCAVENUE_MERCHANT_ID').freeze
end

.modeObject



16
17
18
# File 'lib/ccavenue_payment/config.rb', line 16

def mode
  ENV.fetch('CCAVENUE_MODE').freeze
end

.working_keyObject



8
9
10
# File 'lib/ccavenue_payment/config.rb', line 8

def working_key
  ENV.fetch('CCAVENUE_WORKING_KEY').freeze
end