--- 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:36:57 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": 40656, "name": "new advertiser cfe638b2f14a4a173186c43a59ec26f9", "status_id": 1, "category_id": 1010, "key": "", "create_date": "2015-04-28T17:38:02", "modify_date": "2015-04-28T17:38:02"}]' http_version: recorded_at: Tue, 28 Apr 2015 21:38:05 GMT - request: method: delete uri: https://:@oiapi.com/v1/advertisers/40656/ 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:36:58 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:05 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:36:58 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:05 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser 24f52e509857968280d4919f6cc6d26d","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:36:58 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": 40658}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:06 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/ body: encoding: UTF-8 string: '{"advertiser_id":40658,"name":"Special Product 2e9dfd2028f8e65afe4dfcad6cad99a8","category_id":1010,"status_id":9,"headline":"Buy our product today b99d2c7dffda2fafec90e078ad5791be","body":"Try for FREE for a limited time only. This is your one-and-only chance! 90ca879d735fea50efba9ae1c22e8775","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:36:59 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": 79975}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:07 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/79975/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:00 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": 53543}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:08 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser e077377197ccd78c8da617387b536339","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:01 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": 40660}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:08 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/ body: encoding: UTF-8 string: '{"advertiser_id":40660,"name":"Special Product 9f796605b00244982fcac3b5f82eb071","category_id":1010,"status_id":9,"headline":"Buy our product today 2b3f25a52832796d03b7793c1e50d903","body":"Try for FREE for a limited time only. This is your one-and-only chance! 15b7f24634804de04355e093b229280d","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:01 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": 79977}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:10 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/79977/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:03 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": 53545}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:10 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser 5775efb738c4a84fb5bc3b66108f0c32","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:03 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": 40661}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:10 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/ body: encoding: UTF-8 string: '{"advertiser_id":40661,"name":"Special Product 1c48996e009ad4e8923c750129660159","category_id":1010,"status_id":9,"headline":"Buy our product today 040fb0019c34088ee17914750dc9365a","body":"Try for FREE for a limited time only. This is your one-and-only chance! 8e33456513689a796779e027a5980be0","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:03 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": 79978}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:12 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/79978/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:05 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": 53546}' http_version: recorded_at: Tue, 28 Apr 2015 21:38:12 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:05 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": 53542, "subject": "Here''s a good subject line", "offer_id": 79974, "from_name": "Our Company", "status_id": 1, "body_text": "some text here", "body_html": "some html here"}, {"id": 53543, "subject": "Here''s a good subject line", "offer_id": 79975, "from_name": "Our Company", "status_id": 1, "body_text": "some text here", "body_html": "some html here"}, {"id": 53544, "subject": "Here''s a good subject line", "offer_id": 79976, "from_name": "Our Company", "status_id": 1, "body_text": "some text here", "body_html": "some html here"}, {"id": 53545, "subject": "Here''s a good subject line", "offer_id": 79977, "from_name": "Our Company", "status_id": 1, "body_text": "some text here", "body_html": "some html here"}, {"id": 53546, "subject": "Here''s a good subject line", "offer_id": 79978, "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:13 GMT recorded_with: VCR 2.9.3