Sha256: b020be55fba07893384f9b7ede08ef50decd4281fa1232409d07c3f76e01868b

Contents?: true

Size: 217 Bytes

Versions: 3

Compression:

Stored size: 217 Bytes

Contents

if File.exists?("#{Rails.root}/config/pxpay.yml")
  PXPAY_CONFIG = YAML.load_file("#{Rails.root}/config/pxpay.yml")[Rails.env]
else
  print "Please run rails generate pxpay:install to generate a pxpay config file"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pxpay-0.1.8 lib/pxpay/init.rb
pxpay-0.1.5 lib/pxpay/init.rb
pxpay-0.1.3 lib/pxpay/init.rb