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.



52
53
54
55
56
# File 'lib/hana.rb', line 52

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

Instance Attribute Details

#pathObject

Returns the value of attribute path.



50
51
52
# File 'lib/hana.rb', line 50

def path
  @path
end

#valueObject

Returns the value of attribute value.



50
51
52
# File 'lib/hana.rb', line 50

def value
  @value
end