Exception: Hana::Patch::FailedTestException

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, value) ⇒ FailedTestException

Returns a new instance of FailedTestException.



63
64
65
66
67
# File 'lib/hana.rb', line 63

def initialize path, value
  super "expected #{value} at #{path}"
  @path  = path
  @value = value
end

Instance Attribute Details

#pathObject

Returns the value of attribute path.



61
62
63
# File 'lib/hana.rb', line 61

def path
  @path
end

#valueObject

Returns the value of attribute value.



61
62
63
# File 'lib/hana.rb', line 61

def value
  @value
end