Sha256: 25dc8376d0b98d9025fdba3250259d6fbeef12dbd99fe982edda3513d75f4501

Contents?: true

Size: 404 Bytes

Versions: 1

Compression:

Stored size: 404 Bytes

Contents

require 'postageapp'

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

1 entries across 1 versions & 1 rubygems

Version Path
postageapp-1.0.0 lib/postageapp/rails.rb