Sha256: 9bcd974ed4efb645bb62d7fdac1b62ff99917f97b7b8ced5cd1981e764b997dc

Contents?: true

Size: 318 Bytes

Versions: 3

Compression:

Stored size: 318 Bytes

Contents

module GDS
  module SSO
    class Railtie < Rails::Railtie
      initializer "gds-sso.initializer" do
        GDS::SSO.config do |config|
          config.cache = Rails.cache
          config.api_only = Rails.configuration.api_only
        end
        OmniAuth.config.logger = Rails.logger
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gds-sso-19.0.0 lib/gds-sso/railtie.rb
gds-sso-18.1.0 lib/gds-sso/railtie.rb
gds-sso-18.0.0 lib/gds-sso/railtie.rb