Sha256: 2041bbe547ad61f763f0d5251eb09adc17a5dcb125608f3004922ea01bc6b552

Contents?: true

Size: 229 Bytes

Versions: 1

Compression:

Stored size: 229 Bytes

Contents

require 'ruby-saml'
module DeviseSamlAuthenticatable
  module SamlConfig
    def get_saml_config
      @saml_config = Onelogin::Saml::Settings.new(YAML.load(File.read("#{Rails.root}/config/idp.yml"))[Rails.env])
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_saml_authenticatable-0.0.1 lib/devise_saml_authenticatable/saml_config.rb