--- 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: - Fri, 24 Apr 2015 22:36:27 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": 40373, "name": "new advertiser c82c99ac2402fc091bdaf69fb38111b1", "status_id": 1, "category_id": 1010, "key": "", "create_date": "2015-04-24T18:37:24", "modify_date": "2015-04-24T18:37:24"}, {"id": 40374, "name": "new advertiser b1a7396721a395c28ec8f2b6dbae5e6b", "status_id": 1, "category_id": 1010, "key": "", "create_date": "2015-04-24T18:37:26", "modify_date": "2015-04-24T18:37:26"}]' http_version: recorded_at: Fri, 24 Apr 2015 22:37:29 GMT - request: method: delete uri: https://:@oiapi.com/v1/advertisers/40373/ 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: - Fri, 24 Apr 2015 22:36:27 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: Fri, 24 Apr 2015 22:37:29 GMT - request: method: delete uri: https://:@oiapi.com/v1/advertisers/40374/ 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: - Fri, 24 Apr 2015 22:36:27 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: Fri, 24 Apr 2015 22:37:29 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: - Fri, 24 Apr 2015 22:36:27 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: Fri, 24 Apr 2015 22:37:30 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser e4eb80e0baf42bae4fd746a70fec130d","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: - Fri, 24 Apr 2015 22:36:28 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": 40375}' http_version: recorded_at: Fri, 24 Apr 2015 22:37:30 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/ body: encoding: UTF-8 string: '{"advertiser_id":40375,"name":"Special Product 7cda060a9de5ad02142b3b754d2c7a35","category_id":1010,"status_id":9,"headline":"Buy our product today c6be415a0bf13a2166a33008b8431f0c","body":"Try for FREE for a limited time only. This is your one-and-only chance! a498037e34bbea3aa8fe6c10c4c90520","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: - Fri, 24 Apr 2015 22:36:28 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": 79792}' http_version: recorded_at: Fri, 24 Apr 2015 22:37:32 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser f96c9c40068bcd9d7019d001ca20fed0","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: - Fri, 24 Apr 2015 22:36: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": 40376}' http_version: recorded_at: Fri, 24 Apr 2015 22:37:32 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/ body: encoding: UTF-8 string: '{"advertiser_id":40376,"name":"Special Product 43ee7787712379f5194ec12f3dc923e1","category_id":1010,"status_id":9,"headline":"Buy our product today a0e301e849258a25f28abb67aca19fd0","body":"Try for FREE for a limited time only. This is your one-and-only chance! ed83fbbb9f13e96b5891bd325823e74e","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: - Fri, 24 Apr 2015 22:36: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": "Request Successful", "message": "Offer successfully created", "id": 79793}' http_version: recorded_at: Fri, 24 Apr 2015 22:37:34 GMT - request: method: post uri: https://:@oiapi.com/v1/advertisers/ body: encoding: UTF-8 string: '{"name":"new advertiser 7301ecd70d82e0638310c0506f153a9b","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: - Fri, 24 Apr 2015 22:36:32 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": 40377}' http_version: recorded_at: Fri, 24 Apr 2015 22:37:34 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/ body: encoding: UTF-8 string: '{"advertiser_id":40377,"name":"Special Product 4a4b2db5c89eab815be15526d0134b7f","category_id":1010,"status_id":9,"headline":"Buy our product today 6d12581fca1a1dca947d00a13f5b8365","body":"Try for FREE for a limited time only. This is your one-and-only chance! ecc9cdb83293471e8d86cdc36d3faa5b","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: - Fri, 24 Apr 2015 22:36:32 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": 79794}' http_version: recorded_at: Fri, 24 Apr 2015 22:37:36 GMT - request: method: post uri: https://:@oiapi.com/v1/offers/79793/datatransfers/ body: encoding: UTF-8 string: '{"name":"DT for Special Product 1 595c4178d00471467ae7a69fe2b7a570","status_id":1,"type":"http","offer_id":79793,"dt_info":{"base_url":"http://www.someclientbaseurl.com","method":"POST"},"data_fields":[{"email":"#{EM}"},{"first_name":"#{FN}"},{"last_name":"#{LN}"},{"zip":"#{PO}"},{"gender":"#{G}"}]}' headers: Content-Type: - application/json User-Agent: - OiApiRuby Gem 0.1.1 response: status: code: 200 message: OK headers: Date: - Fri, 24 Apr 2015 22:36:33 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": 90077}' http_version: recorded_at: Fri, 24 Apr 2015 22:37:36 GMT - request: method: get uri: https://:@oiapi.com/v1/datatransfers/90077/ 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: - Fri, 24 Apr 2015 22:36:34 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: '{"id": 90077, "name": "DT for Special Product 1 595c4178d00471467ae7a69fe2b7a570", "status_id": 1, "type": "http", "offer_id": 79793, "dt_info": {"base_url": "http://www.someclientbaseurl.com", "method": "POST"}, "data_fields": [{"email": "#{EM}"}, {"first_name": "#{FN}"}, {"last_name": "#{LN}"}, {"zip": "#{PO}"}, {"gender": "#{G}"}]}' http_version: recorded_at: Fri, 24 Apr 2015 22:37:36 GMT recorded_with: VCR 2.9.3