Sha256: 6ba71a3502aafd96d63b1a827e0eacc289b2a373584258eddd799b165491d1b5

Contents?: true

Size: 736 Bytes

Versions: 1

Compression:

Stored size: 736 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
saasaparilla-0.2.2 lib/saasaparilla/engine.rb