Sha256: 1516ea76b26bef8a718ea238922024acefc9537a91f710142377132afa111e40

Contents?: true

Size: 324 Bytes

Versions: 4

Compression:

Stored size: 324 Bytes

Contents

require 'yaml'
env = Rails.env.present? ? Rails.env.to_s : 'test'
ECO = YAML.load(File.read("#{Rails.root}/config/ecommerce.yml"))[env]

PAYPAL_CERT_PEM = File.read("#{Rails.root}/certs/paypal_cert.pem")
APP_CERT_PEM = File.read("#{Rails.root}/certs/app_cert.pem")
APP_KEY_PEM = File.read("#{Rails.root}/certs/app_key.pem")

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecommerce-0.0.6 config/initializers/ecommerce-config.rb
ecommerce-0.0.5 config/initializers/ecommerce-config.rb
ecommerce-0.0.4 config/initializers/ecommerce-config.rb
ecommerce-0.0.3 config/initializers/ecommerce-config.rb