Exception: Gerd::Exceptions::ValidationException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/gerd/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(object) ⇒ ValidationException

Returns a new instance of ValidationException.



8
9
10
# File 'lib/gerd/exceptions.rb', line 8

def initialize(object)
  @object = object
end

Instance Attribute Details

#objectObject (readonly)

Returns the value of attribute object.



6
7
8
# File 'lib/gerd/exceptions.rb', line 6

def object
  @object
end