Sha256: 4ec8452efd8fc85271c42f4948fa50ef293d915f0c8fc7c046d6f6ff4c81cea0

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true

require "fmrest"

module Rails
  module FmRest
    class Railtie < Rails::Railtie
      initializer "fmrest.load_config" do
        ::FmRest.default_connection_settings = Rails.application.config_for("fmrest")
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fmrest-rails-0.22.0 lib/fmrest/railtie.rb