--- http_interactions: - request: method: get uri: https://:@oiapi.com/v1/advertisers/ 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:37:06 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: '[{"id": 40657, "name": "new advertiser dcd6587e1976de88f5a5cbe0cf26ae20", "status_id": 1, "category_id": 1010, "key": "", "create_date": "2015-04-28T17:38:05", "modify_date": "2015-04-28T17:38:05"}, {"id": 40658, "name": "new advertiser 24f52e509857968280d4919f6cc6d26d", "status_id": 1, "category_id": 1010, "key": "", "create_date": "2015-04-28T17:38:06", "modify_date": "2015-04-28T17:38:06"}, {"id": 40659, "name": "new advertiser 3b1d66b40e3dc69b36f6ddbb165445da", "status_id": 1, "category_id": 1010, "key": "", "create_date": "2015-04-28T17:38:07", "modify_date": "2015-04-28T17:38:07"}, {"id": 40660, "name": "new advertiser e077377197ccd78c8da617387b536339", "status_id": 1, "category_id": 1010, "key": "", "create_date": "2015-04-28T17:38:08", "modify_date": "2015-04-28T17:38:08"}, {"id": 40661, "name": "new advertiser 5775efb738c4a84fb5bc3b66108f0c32", "status_id": 1, "category_id": 1010, "key": "", "create_date": "2015-04-28T17:38:10", "modify_date": "2015-04-28T17:38:10"}]' http_version: recorded_at: Tue, 28 Apr 2015 21:38:13 GMT - request: method: delete uri: https://:@oiapi.com/v1/advertisers/40657/ 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:37:06 GMT Server: - Apache/2.2.15 (CentOS) Vary: - Accept,Cookie X-Frame-Options: - SAMEORIGIN Allow: - GET, PUT, DELETE, HEAD, OPTIONS Connection: - close Transfer-Encoding: - chunked Content-Type: - application/json body: encoding: UTF-8 string: '{"status": "Delete Successful", "message": "Advertiser Succesfully deleted"}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:13 GMT - request: method: delete uri: https://:@oiapi.com/v1/advertisers/40658/ 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:37:06 GMT Server: - Apache/2.2.15 (CentOS) Vary: - Accept,Cookie X-Frame-Options: - SAMEORIGIN Allow: - GET, PUT, DELETE, HEAD, OPTIONS Connection: - close Transfer-Encoding: - chunked Content-Type: - application/json body: encoding: UTF-8 string: '{"status": "Delete Successful", "message": "Advertiser Succesfully deleted"}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:14 GMT - request: method: delete uri: https://:@oiapi.com/v1/advertisers/40659/ 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:37:07 GMT Server: - Apache/2.2.15 (CentOS) Vary: - Accept,Cookie X-Frame-Options: - SAMEORIGIN Allow: - GET, PUT, DELETE, HEAD, OPTIONS Connection: - close Transfer-Encoding: - chunked Content-Type: - application/json body: encoding: UTF-8 string: '{"status": "Delete Successful", "message": "Advertiser Succesfully deleted"}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:14 GMT - request: method: delete uri: https://:@oiapi.com/v1/advertisers/40660/ 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:37:07 GMT Server: - Apache/2.2.15 (CentOS) Vary: - Accept,Cookie X-Frame-Options: - SAMEORIGIN Allow: - GET, PUT, DELETE, HEAD, OPTIONS Connection: - close Transfer-Encoding: - chunked Content-Type: - application/json body: encoding: UTF-8 string: '{"status": "Delete Successful", "message": "Advertiser Succesfully deleted"}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:14 GMT - request: method: delete uri: https://:@oiapi.com/v1/advertisers/40661/ 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:37:07 GMT Server: - Apache/2.2.15 (CentOS) Vary: - Accept,Cookie X-Frame-Options: - SAMEORIGIN Allow: - GET, PUT, DELETE, HEAD, OPTIONS Connection: - close Transfer-Encoding: - chunked Content-Type: - application/json body: encoding: UTF-8 string: '{"status": "Delete Successful", "message": "Advertiser Succesfully deleted"}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:14 GMT - request: method: get uri: https://:@oiapi.com/v1/offers/ 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:37:07 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: "[]" http_version: recorded_at: Tue, 28 Apr 2015 21:38:15 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser 9440d50544901c69ce024d9651a828ac","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:37:08 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": 40662}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:15 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/ body: encoding: UTF-8 string: '{"advertiser_id":40662,"name":"Special Product d14c239243414c56ed1608f382dac315","category_id":1010,"status_id":9,"headline":"Buy our product today 145403ad06c4af43fc8753722082d76f","body":"Try for FREE for a limited time only. This is your one-and-only chance! 9ff1bd19ff9f735a7ad1809d95cc8ac0","cpl_price":1.0,"global_cap":1000,"monthly_cap":300,"daily_cap":10,"image1":"http://www.opt-intelligence.com/images/cats120.png","image2":"http://www.opt-intelligence.com/images/cats88.png","data_points":["EM","FN"],"targeting":{"min_age":18,"max_age":45,"zip":{"include":true,"zip_codes":["14226","10009","10023","11211"]},"gender":"m","country":{"include":true,"countries":["USA"]},"third_party":{}},"comment":"Hello there"}' 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:37:08 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": "Request Successful", "message": "Offer successfully created", "id": 79979}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:17 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/79979/autoresponders/ body: encoding: UTF-8 string: '{"status_id":1,"subject":"Here''s a good subject line","from_name":"Our Company","body_html":"some html here","body_text":"some text here"}' 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:37:10 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", "id": 53547}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:17 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser c69494a0d17ca25030b81cce5f95fe10","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:37:10 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": 40663}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:17 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/ body: encoding: UTF-8 string: '{"advertiser_id":40663,"name":"Special Product 0c8624ce6de09105de74b08f67300780","category_id":1010,"status_id":9,"headline":"Buy our product today 9ed317fe978aba16ba44c041e11a807b","body":"Try for FREE for a limited time only. This is your one-and-only chance! b8b94701fb5b964dda76da9b274a46ce","cpl_price":1.0,"global_cap":1000,"monthly_cap":300,"daily_cap":10,"image1":"http://www.opt-intelligence.com/images/cats120.png","image2":"http://www.opt-intelligence.com/images/cats88.png","data_points":["EM","FN"],"targeting":{"min_age":18,"max_age":45,"zip":{"include":true,"zip_codes":["14226","10009","10023","11211"]},"gender":"m","country":{"include":true,"countries":["USA"]},"third_party":{}},"comment":"Hello there"}' 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:37:10 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": "Request Successful", "message": "Offer successfully created", "id": 79980}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:19 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/79980/autoresponders/ body: encoding: UTF-8 string: '{"status_id":1,"subject":"Here''s a good subject line","from_name":"Our Company","body_html":"some html here","body_text":"some text here"}' 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:37:12 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", "id": 53548}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:19 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser 1db8948907df40fb3c6e554021d85bd1","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:37:12 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": 40664}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:20 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/ body: encoding: UTF-8 string: '{"advertiser_id":40664,"name":"Special Product e040361efb7dc3f1dc7409e83c5ba5e6","category_id":1010,"status_id":9,"headline":"Buy our product today 875a2b1349c242917877fb98ba568f95","body":"Try for FREE for a limited time only. This is your one-and-only chance! 7bf8fc4de3f71db9d0094bf27066a45f","cpl_price":1.0,"global_cap":1000,"monthly_cap":300,"daily_cap":10,"image1":"http://www.opt-intelligence.com/images/cats120.png","image2":"http://www.opt-intelligence.com/images/cats88.png","data_points":["EM","FN"],"targeting":{"min_age":18,"max_age":45,"zip":{"include":true,"zip_codes":["14226","10009","10023","11211"]},"gender":"m","country":{"include":true,"countries":["USA"]},"third_party":{}},"comment":"Hello there"}' 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:37:13 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": "Request Successful", "message": "Offer successfully created", "id": 79981}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:21 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/79981/autoresponders/ body: encoding: UTF-8 string: '{"status_id":1,"subject":"Here''s a good subject line","from_name":"Our Company","body_html":"some html here","body_text":"some text here"}' 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:37:14 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", "id": 53549}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:21 GMT - request: method: get uri: https://:@oiapi.com/v1/autoresponders/ 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:37:14 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: '[{"id": 53547, "subject": "Here''s a good subject line", "offer_id": 79979, "from_name": "Our Company", "status_id": 1, "body_text": "some text here", "body_html": "some html here"}, {"id": 53548, "subject": "Here''s a good subject line", "offer_id": 79980, "from_name": "Our Company", "status_id": 1, "body_text": "some text here", "body_html": "some html here"}, {"id": 53549, "subject": "Here''s a good subject line", "offer_id": 79981, "from_name": "Our Company", "status_id": 1, "body_text": "some text here", "body_html": "some html here"}]' http_version: recorded_at: Tue, 28 Apr 2015 21:38:22 GMT recorded_with: VCR 2.9.3