Method: Saml.current_store
- Defined in:
- lib/saml.rb
.current_store ⇒ Object
169 170 171 172 173 174 |
# File 'lib/saml.rb', line 169 def self.current_store store_name = Thread.current['saml_current_store'] Saml::Config.registered_stores[store_name] || Saml::Config.registered_stores[Saml::Config.default_store] || raise(Errors::InvalidStore.new(store_name)) end |