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