Sha256: 90b58abfe6ac84ba33143aff8b6e08394e7f6699c775c1b9152362dbc263ebd1
Contents?: true
Size: 108 Bytes
Versions: 2
Compression:
Stored size: 108 Bytes
Contents
FakeResponse = Struct.new(:body) do def to_h JSON.parse(body) end def to_json body end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
json_matchers-0.9.0 | spec/support/fake_response.rb |
json_matchers-0.8.0 | spec/support/fake_response.rb |