Sha256: b16e1d5b625751dfe7b3b3dc25884cc184d9a5fe436cde190b84d30683a4822c

Contents?: true

Size: 458 Bytes

Versions: 24

Compression:

Stored size: 458 Bytes

Contents

require 'postageapp'
require 'postageapp/mailer' if defined?(ActionMailer)

module PostageApp::Rails
  
  def self.initialize
    PostageApp.configure do |config|
      config.framework    = "Rails #{::Rails.version}"  if defined?(::Rails.version)
      config.project_root = ::Rails.root                if defined?(::Rails.root)
      config.environment  = ::Rails.env                 if defined?(::Rails.env)
    end
  end
end

PostageApp::Rails.initialize

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
postageapp-1.0.24 lib/postageapp/rails/rails.rb
postageapp-1.0.23 lib/postageapp/rails/rails.rb
postageapp-1.0.22 lib/postageapp/rails/rails.rb
postageapp-1.0.21 lib/postageapp/rails/rails.rb
postageapp-1.0.20 lib/postageapp/rails/rails.rb
postageapp-1.0.19 lib/postageapp/rails/rails.rb
postageapp-1.0.18 lib/postageapp/rails/rails.rb
postageapp-1.0.17 lib/postageapp/rails/rails.rb
postageapp-1.0.16 lib/postageapp/rails/rails.rb
postageapp-1.0.15 lib/postageapp/rails/rails.rb
postageapp-1.0.14 lib/postageapp/rails/rails.rb
postageapp-1.0.13 lib/postageapp/rails/rails.rb
postageapp-1.0.12 lib/postageapp/rails/rails.rb
postageapp-1.0.11 lib/postageapp/rails/rails.rb
postageapp-1.0.10 lib/postageapp/rails/rails.rb
postageapp-1.0.9 lib/postageapp/rails/rails.rb
postageapp-1.0.8 lib/postageapp/rails/rails.rb
postageapp-1.0.7 lib/postageapp/rails/rails.rb
postageapp-1.0.6 lib/postageapp/rails/rails.rb
postageapp-1.0.5 lib/postageapp/rails/rails.rb