struct MockServerClient::JsonBodyMatcher
- MockServerClient::JsonBodyMatcher
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
mockserver/structs.crConstructors
- .new(pull : JSON::PullParser)
- .new(json : JSON::Any, content_type : String | Nil = nil, match_type : String | Nil = nil, type : MockServerClient::BodyTypes = BodyTypes::JSON)
Instance Method Summary
- #content_type : String | Nil
- #content_type!
- #json : JSON::Any
- #match_type : String | Nil
- #match_type!
- #type : MockServerClient::BodyTypes
Constructor Detail
def self.new(json : JSON::Any, content_type : String | Nil = nil, match_type : String | Nil = nil, type : MockServerClient::BodyTypes = BodyTypes::JSON)
#