Sha256: 9a4f722220cab052e5db3ad995ecfa78bf8dfe6e817b77c6a4a1ba9b14585ed6
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 KB
Contents
--- http_interactions: - request: method: post uri: http://localhost:3001/pre_book body: encoding: UTF-8 string: '{"search":{"destination_id":"invalid_destination_id","check_in_date":"2015-07-24","check_out_date":"2015-07-25","room_count":1,"adult_count":2},"package":{"hotel_id":"00d7ed72-2325-4225-5e95-02d340e48fe5","room_details":{"description":"Superior","food":0,"room_type":"Superior","room_view":"","beds":{"single":2}},"booking_key":"39c90b48","room_rate":144.92,"room_rate_currency":"USD","chargeable_rate":15,"chargeable_rate_currency":"USD"},"config":{"pricing":{"fixed_tolerance":1},"matching":{"flexible_room_view":true,"flexible_beds":true}}}' headers: X-Api-Key: - XXXX1234 response: status: code: 400 message: Bad Request headers: Content-Type: - application/json Date: - Fri, 24 Jul 2015 06:59:21 GMT Content-Length: - '125' body: encoding: UTF-8 string: '{"id":"bad_request","message":"[search] is invalid; [destination_id] Required length is 36; ","url":"http://docs.zumata.com"}' http_version: recorded_at: Fri, 24 Jul 2015 06:59:21 GMT recorded_with: VCR 2.9.3
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zumata_v3-0.0.2 | spec/cassettes/2015-07-24/prebook_fail.yml |
zumata_v3-0.0.1 | spec/cassettes/2015-07-24/prebook_fail.yml |