Exception: Saml::Errors::InvalidStore

Inherits:
SamlError
  • Object
show all
Defined in:
lib/saml.rb

Instance Method Summary collapse

Constructor Details

#initialize(store = '') ⇒ InvalidStore

Returns a new instance of InvalidStore.



33
34
35
# File 'lib/saml.rb', line 33

def initialize(store = '')
  @store = store
end

Instance Method Details

#messageObject



37
38
39
40
41
42
43
# File 'lib/saml.rb', line 37

def message
  if @store.nil? || @store == ''
    'Store cannot be blank'
  else
    "Store #{@store} not registered"
  end
end