Exception: Saml::Errors::InvalidStore
- Defined in:
- lib/saml.rb
Instance Method Summary collapse
-
#initialize(store = '') ⇒ InvalidStore
constructor
A new instance of InvalidStore.
- #message ⇒ Object
Constructor Details
#initialize(store = '') ⇒ InvalidStore
Returns a new instance of InvalidStore.
42 43 44 |
# File 'lib/saml.rb', line 42 def initialize(store = '') @store = store end |
Instance Method Details
#message ⇒ Object
46 47 48 49 50 51 52 |
# File 'lib/saml.rb', line 46 def if @store.nil? || @store == '' 'Store cannot be blank' else "Store #{@store} not registered" end end |