Method: Saml.current_store
- Defined in:
- lib/saml.rb
.current_store ⇒ Object
190 191 192 193 194 195 |
# File 'lib/saml.rb', line 190 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 |