require "saasaparilla" require "rails" require "active_merchant" require "action_controller" require 'yaml' require 'simple_form' require "authlogic" require "dynamic_attributes" require 'saasaparilla/authentication' require 'saasaparilla/authorization' module Saasaparilla class Engine < Rails::Engine initializer "simple_form_init" do |app| require 'initializers/simple_form' require 'initializers/time_format' if File.exists?(Rails.root.to_s + "/config/saasaparilla.yml") raw_config = File.read(Rails.root.to_s + "/config/saasaparilla.yml") Saasaparilla::CONFIG = YAML.load(raw_config)[Rails.env] end require 'initializers/auth_dot_net' end end end