--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&method=List_Add_Public&name=Factory%20List body: !!null headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.8.0) 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=5858560ae94afdfbcd5c06280a207988; 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, 04 Aug 2011 02:38:47 GMT server: - lighttpd/1.4.28 body: '57' http_version: '1.1' - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&listId=57&method=List_Get_Info body: !!null headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.8.0) 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=73c27e19065b5c49a29940c5d0019e5a; 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, 04 Aug 2011 02:38:37 GMT server: - lighttpd/1.4.28 body: ! '{"listId":"57","name":"Factory List","description":null,"type":"public","optIn":false}' http_version: '1.1' - !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_Standard&senderEmail=nate@envylabs.com&senderName=Nate%20Bibler&subject=Factory%20Campaign%20Message&content%5Btext%5D=This%20is%20a%20good%20message!%20%7BCOMPANY_ADDRESS%7D&recipients%5Blist%5D=57 body: !!null headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.8.0) 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=24befcb3d91865ee60c2babd985e22f0; 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, 04 Aug 2011 02:38:48 GMT server: - lighttpd/1.4.28 body: '49' http_version: '1.1' - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?campaignId=49&key=%{API_KEY}&method=Campaign_Get_Info body: !!null headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.8.0) 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=f5497edf3ec9b967c0151e4895e28ef2; 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, 04 Aug 2011 02:38:49 GMT server: - lighttpd/1.4.28 body: ! '{"campaignId":"49","campaignName":"factory campaign","type":"standard","contentType":"standard","status":"draft","recipients":{"list":["57"]},"subject":"Factory Campaign Message","senderName":"Nate Bibler","senderEmail":"nate@envylabs.com","recipientName":"","replyToName":"","replyToEmail":null,"content":{"html":"","text":"This is a good message! {COMPANY_ADDRESS}"},"startTime":"2011-08-04 02:38:48","authenticate":false,"trackReplies":false,"showInArchive":false,"viewInBrowser":false,"trackOpens":true,"trackClickThruHTML":true,"trackClickThruText":true,"googleAnalyticsName":null,"automaticTweet":false,"clickTaleName":null,"clickTaleCustomFields":[""],"useCustomUrlParameters":null,"customUrlParameters":null}' http_version: '1.1' - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?campaignId=49&key=%{API_KEY}&method=Campaign_Delete body: !!null headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.8.0) 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=dd081190a0c5ba1fa334956b95b1bba8; 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, 04 Aug 2011 02:38:49 GMT server: - lighttpd/1.4.28 body: 'true' http_version: '1.1' - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?campaignId=49&key=%{API_KEY}&method=Campaign_Get_Info body: !!null headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.8.0) 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=ab6ba24d376779e315a7801139c2c492; 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, 04 Aug 2011 02:38:50 GMT server: - lighttpd/1.4.28 body: ! '{"result":"error","message":"Input Error: campaignId 49 not found","code":601}' http_version: '1.1' - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://api.emailcampaigns.net:443/2/REST/?key=%{API_KEY}&listId=57&method=List_Delete body: !!null headers: accept: - application/json user-agent: - contactology/0.0.1 (Rubygems; Ruby 1.9.2 x86_64-darwin10.8.0) 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=42601b1b60dbde7b4fa5d4aa177f3bbd; 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, 04 Aug 2011 02:38:50 GMT server: - lighttpd/1.4.28 body: 'true' http_version: '1.1'