Sha256: e13ed430cf83b16b20fd2462e3b1585fdae2fe8b16c304a47479bb26bd9daba6
Contents?: true
Size: 363 Bytes
Versions: 1
Compression:
Stored size: 363 Bytes
Contents
require 'old_api_resource' require 'rails' module OldApiResource class Railtie < ::Rails::Railtie config.old_api_resource = ActiveSupport::OrderedOptions.new initializer "old_api_resource.set_configs" do |app| app.config.old_api_resource.each do |k,v| OldApiResource::Base.send "#{k}=", v end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
old_api_resource-0.3.0 | lib/old_api_resource/railtie.rb |