--- http_interactions: - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser 038eb3eda268c6d5d2a699170e609fa0","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:02:30 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": 40608}' http_version: recorded_at: Tue, 28 Apr 2015 21:03:38 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/40608/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:02:31 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:03:39 GMT - request: method: put uri: https://:@oiapi.com/v1/advertisers/40608/cards// body: encoding: UTF-8 string: '{"number":999}' headers: Content-Type: - application/json User-Agent: - OiApiRuby Gem 0.1.1 response: status: code: 405 message: METHOD NOT ALLOWED headers: Date: - Tue, 28 Apr 2015 21:02:33 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: '{"detail": "Method ''PUT'' not allowed."}' http_version: recorded_at: Tue, 28 Apr 2015 21:03:40 GMT recorded_with: VCR 2.9.3