--- http_interactions: - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser dadc738a450ef4a39cc685709e9180a6","status_id":1,"category_id":1010}' headers: Content-Type: - application/json User-Agent: - OiApiRuby Gem 0.1.1 response: status: code: 201 message: CREATED headers: Date: - Tue, 28 Apr 2015 21:00:40 GMT Server: - Apache/2.2.15 (CentOS) Vary: - Accept,Cookie X-Frame-Options: - SAMEORIGIN Allow: - GET, POST, HEAD, OPTIONS Connection: - close Transfer-Encoding: - chunked Content-Type: - application/json body: encoding: UTF-8 string: '{"status": "Create Successful", "message": "Advertiser successfully created", "id": 40584}' http_version: recorded_at: Tue, 28 Apr 2015 21:01:47 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/40584/cards/ body: encoding: UTF-8 string: '{"number":9819465435,"exp_month":12,"exp_year":16,"cvc":111,"name":"John Tester","address_line1":"123 Elm Street","address_line2":"Apt 2","address_city":"Rochester","address_zip":14605,"address_state":"NY","address_country":"US","default":"true"}' headers: Content-Type: - application/json User-Agent: - OiApiRuby Gem 0.1.1 response: status: code: 400 message: BAD REQUEST headers: Date: - Tue, 28 Apr 2015 21:00:40 GMT Server: - Apache/2.2.15 (CentOS) Vary: - Accept,Cookie X-Frame-Options: - SAMEORIGIN Allow: - GET, POST, DELETE, HEAD, OPTIONS Connection: - close Transfer-Encoding: - chunked Content-Type: - application/json body: encoding: UTF-8 string: '{"status": "Request Failed", "message": "Your card number is incorrect.", "error_code": "incorrect_number", "error": true}' http_version: recorded_at: Tue, 28 Apr 2015 21:01:49 GMT - request: method: get uri: https://:@oiapi.com/v1/advertisers/40584/cards// body: encoding: US-ASCII string: '' headers: Content-Type: - application/json User-Agent: - OiApiRuby Gem 0.1.1 response: status: code: 200 message: OK headers: Date: - Tue, 28 Apr 2015 21:00:42 GMT Server: - Apache/2.2.15 (CentOS) Vary: - Accept,Cookie X-Frame-Options: - SAMEORIGIN Allow: - GET, POST, DELETE, HEAD, OPTIONS Connection: - close Transfer-Encoding: - chunked Content-Type: - application/json body: encoding: UTF-8 string: "[]" http_version: recorded_at: Tue, 28 Apr 2015 21:01:50 GMT recorded_with: VCR 2.9.3