Class: Matchers::JSON::JSONPathHasObject
- Inherits:
-
Object
- Object
- Matchers::JSON::JSONPathHasObject
- Includes:
- JSONPath, JSONPathHasThing
- Defined in:
- lib/matchers/json/json_path_has_object.rb
Instance Method Summary collapse
-
#initialize(json_path, json_object) ⇒ JSONPathHasObject
constructor
A new instance of JSONPathHasObject.
Methods included from JSONPathHasThing
Methods included from JSONPath
#json_path_valid?, #value_on_path
Constructor Details
#initialize(json_path, json_object) ⇒ JSONPathHasObject
Returns a new instance of JSONPathHasObject.
7 8 9 |
# File 'lib/matchers/json/json_path_has_object.rb', line 7 def initialize(json_path, json_object) super(json_path, json_object) end |