Sha256: ad9a6975070d9270c4fbf0b53760e8997fb7e0a6ecc3cf4cf1a4b62cd7cc93b9
Contents?: true
Size: 494 Bytes
Versions: 8
Compression:
Stored size: 494 Bytes
Contents
require 'postageapp' if (defined?(ActionMailer)) require 'postageapp/mailer' end module PostageApp::Rails def self.initialize PostageApp.configure do |config| if (defined?(::Rails.version)) config.framework = "Rails #{::Rails.version}" end if (defined?(::Rails.root)) config.project_root = ::Rails.root end if (defined?(::Rails.env)) config.environment = ::Rails.env end end end end PostageApp::Rails.initialize
Version data entries
8 entries across 8 versions & 1 rubygems