Exception: OpenIDConnect::ValidationFailed

Inherits:
Exception
  • Object
show all
Defined in:
lib/openid_connect/exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ ValidationFailed

Returns a new instance of ValidationFailed.



7
8
9
10
# File 'lib/openid_connect/exception.rb', line 7

def initialize(object)
  super object.errors.full_messages.to_sentence
  @object = object
end

Instance Attribute Details

#objectObject (readonly)

Returns the value of attribute object.



5
6
7
# File 'lib/openid_connect/exception.rb', line 5

def object
  @object
end