Sha256: 203d3fa54542abb7b8cd4b5997d2e0a7138283acfc3163558af68f33607cbc53
Contents?: true
Size: 322 Bytes
Versions: 1
Compression:
Stored size: 322 Bytes
Contents
module MtaJson class Railtie < Rails::Railtie config.mta_json = ActiveSupport::OrderedOptions.new # default whitelist includes only the local ip. config.mta_json.whitelist = %w(127.0.0.1) initializer "mta_json.configure" do |app| app.middleware.use MtaJson::Wrapper end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mta_json-0.0.2 | lib/mta_json/railtie.rb |