--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?campaignName=factory%20campaign&key=%{API_KEY}&method=Campaign_Create_Transactional&senderEmail=sender@example.com&senderName=Sender%20Example&subject=Test%20Creation&content%5Btext%5D=This%20is%20a%20good%20email.%20%7BCOMPANY_ADDRESS%7D&testContact%5Bemail%5D=test-contact@example.com&testReplacements%5Bfirst_name%5D=John body: headers: accept: - application/json user-agent: - contactology/0.0.2 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=4578af0339fa5bdaa144207bcf18f0ff; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Thu, 25 Aug 2011 15:58:31 GMT server: - lighttpd/1.4.28 body: "54" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?campaignId=54&key=%{API_KEY}&method=Campaign_Send_Transactional_Multiple&source=Customer&contacts%5Bemail%5D=bad&optionalParameters%5BcontinueOnError%5D=true body: headers: accept: - application/json user-agent: - contactology/0.0.2 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=7ef161bba924ef945f85052cf6c43ff4; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Thu, 25 Aug 2011 15:58:32 GMT server: - lighttpd/1.4.28 body: "{\"errors\":[{\"email\":\"bad\",\"source\":\"Customer\",\"_err_\":302,\"_msg_\":\"Invalid e-mail address provided\"}]}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?campaignId=54&key=%{API_KEY}&method=Campaign_Delete body: headers: accept: - application/json user-agent: - contactology/0.0.2 (Rubygems; Ruby 1.9.2 x86_64-darwin10.7.1) response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-powered-by: - PHP/5.2.10 set-cookie: - PHPSESSID=8fe3cea47a38ea58f7e9c36d3eeb32e6; path=/ expires: - Thu, 19 Nov 1981 08:52:00 GMT cache-control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 pragma: - no-cache content-type: - text/plain;charset=UTF-8 transfer-encoding: - chunked date: - Thu, 25 Aug 2011 15:58:32 GMT server: - lighttpd/1.4.28 body: "true" http_version: "1.1"