Sha256: 4ab206faa5ada3abba67ff085594e2ca03d1e7a0d9685c64b8e5c7c06603b4dc
Contents?: true
Size: 1.04 KB
Versions: 6
Compression:
Stored size: 1.04 KB
Contents
require "saucy" require "rails" require "braintree" module Saucy class Engine < Rails::Engine config.saucy = Configuration.new initializer :braintree_logger, :after => :initialize_logger do Braintree::Configuration.logger = Rails.logger end initializer :filter_credit_card_info do Rails.configuration.filter_parameters += [:password, :card_number, :cardholder_name, :verification_code, :expiration_month, :expiration_year] end initializer 'limits.helper' do |app| ActionView::Base.send :include, LimitsHelper end initializer 'coupons.helper' do |app| ActionView::Base.send :include, CouponsHelper end {:short_date => "%x"}.each do |k, v| Time::DATE_FORMATS[k] = v end rake_tasks do load "saucy/railties/tasks.rake" end end end
Version data entries
6 entries across 6 versions & 1 rubygems