--- 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:15 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": 40662, "name": "new advertiser 9440d50544901c69ce024d9651a828ac", "status_id": 1, "category_id": 1010, "key": "", "create_date": "2015-04-28T17:38:15", "modify_date": "2015-04-28T17:38:15"}, {"id": 40663, "name": "new advertiser c69494a0d17ca25030b81cce5f95fe10", "status_id": 1, "category_id": 1010, "key": "", "create_date": "2015-04-28T17:38:17", "modify_date": "2015-04-28T17:38:17"}, {"id": 40664, "name": "new advertiser 1db8948907df40fb3c6e554021d85bd1", "status_id": 1, "category_id": 1010, "key": "", "create_date": "2015-04-28T17:38:19", "modify_date": "2015-04-28T17:38:19"}]' http_version: recorded_at: Tue, 28 Apr 2015 21:38:22 GMT - request: method: delete uri: https://:@oiapi.com/v1/advertisers/40662/ 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:15 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:22 GMT - request: method: delete uri: https://:@oiapi.com/v1/advertisers/40663/ 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:15 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:23 GMT - request: method: delete uri: https://:@oiapi.com/v1/advertisers/40664/ 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:16 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:23 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:16 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:23 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser 73761fe04ea20ced65cc335735d3e449","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:16 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": 40665}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:24 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/ body: encoding: UTF-8 string: '{"advertiser_id":40665,"name":"Special Product 5509fb026e492fdabb8f37b0f574584c","category_id":1010,"status_id":9,"headline":"Buy our product today 5577c63582b8c60e08e23a0426229d94","body":"Try for FREE for a limited time only. This is your one-and-only chance! 3c463a4ef208c77b1e4d256ecce3b2fd","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:17 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": 79982}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:25 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/79982/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:18 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": 53550}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:26 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser 67704fcf7ebb270a4a9478d02139a2d4","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:18 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": 40666}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:26 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/ body: encoding: UTF-8 string: '{"advertiser_id":40666,"name":"Special Product 91838782d0e5534a4f1c895e091ddf37","category_id":1010,"status_id":9,"headline":"Buy our product today 54bdcf44c6f0dea70ee49ec624900158","body":"Try for FREE for a limited time only. This is your one-and-only chance! c4b2f5a8b078b5ae65ee3bf260b6e417","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:19 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": 79983}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:27 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/79983/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:20 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": 53551}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:28 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser 1b02cdf3bd7904f27837365c56023831","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:21 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": 40667}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:28 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/ body: encoding: UTF-8 string: '{"advertiser_id":40667,"name":"Special Product 50ac3091ac337b995c9d04b417b4bd4b","category_id":1010,"status_id":9,"headline":"Buy our product today 12c76e116ad736e19facb2c64b698460","body":"Try for FREE for a limited time only. This is your one-and-only chance! 927e23fa951cff2f2d8a0544e26dedd9","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:21 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": 79984}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:29 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/79984/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:22 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": 53552}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:30 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:23 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": 53550, "subject": "Here''s a good subject line", "offer_id": 79982, "from_name": "Our Company", "status_id": 1, "body_text": "some text here", "body_html": "some html here"}, {"id": 53551, "subject": "Here''s a good subject line", "offer_id": 79983, "from_name": "Our Company", "status_id": 1, "body_text": "some text here", "body_html": "some html here"}, {"id": 53552, "subject": "Here''s a good subject line", "offer_id": 79984, "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:30 GMT recorded_with: VCR 2.9.3