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.



39
40
41
# File 'lib/saml.rb', line 39

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

Instance Method Details

#messageObject



43
44
45
46
47
48
49
# File 'lib/saml.rb', line 43

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