Sha256: 6615101be71102824350568d6957ea2882466c573d71274f12281c44947afbfb
Contents?: true
Size: 965 Bytes
Versions: 33
Compression:
Stored size: 965 Bytes
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 {: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
33 entries across 33 versions & 2 rubygems