--- http_interactions: - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&method=List_Add_Public&name=Factory%20List body: encoding: US-ASCII string: '' headers: Accept: - application/json User-Agent: - contactology/0.1.2 (Rubygems; Ruby 1.9.3 x86_64-darwin12.2.0) response: status: code: 200 message: OK headers: X-Powered-By: - PHP/5.2.10 Set-Cookie: - PHPSESSID=909ca906ef07a742daccb82fb331e9b0; 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 Connection: - close Transfer-Encoding: - chunked Date: - Wed, 20 Feb 2013 05:15:26 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: '181' http_version: recorded_at: Wed, 20 Feb 2013 05:15:26 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&listId=181&method=List_Get_Info body: encoding: US-ASCII string: '' headers: Accept: - application/json User-Agent: - contactology/0.1.2 (Rubygems; Ruby 1.9.3 x86_64-darwin12.2.0) response: status: code: 200 message: OK headers: X-Powered-By: - PHP/5.2.10 Set-Cookie: - PHPSESSID=6e0bbe96cc8d1302e5c91145f72d5d37; 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 Connection: - close Transfer-Encoding: - chunked Date: - Wed, 20 Feb 2013 05:15:26 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: ! '{"listId":"181","name":"Factory List","description":null,"type":"public","created":"2013-02-20 05:15:26","optIn":false}' http_version: recorded_at: Wed, 20 Feb 2013 05:15:26 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?campaignName=test-find-by-name&content%5Btext%5D=This%20is%20a%20good%20message!%20%7BCOMPANY_ADDRESS%7D&key=%{API_KEY}&method=Campaign_Create_Standard&recipients%5Blist%5D=181&senderEmail=sender@example.com&senderName=Sender%20Example&subject=Factory%20Campaign%20Message body: encoding: US-ASCII string: '' headers: Accept: - application/json User-Agent: - contactology/0.1.2 (Rubygems; Ruby 1.9.3 x86_64-darwin12.2.0) response: status: code: 200 message: OK headers: X-Powered-By: - PHP/5.2.10 Set-Cookie: - PHPSESSID=2a72191628800bc2e993fdd0cc19bf6a; 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 Connection: - close Transfer-Encoding: - chunked Date: - Wed, 20 Feb 2013 05:15:26 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: '97' http_version: recorded_at: Wed, 20 Feb 2013 05:15:27 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&method=Campaign_Find&searchParameters%5BcampaignName%5D=test-find-by-name body: encoding: US-ASCII string: '' headers: Accept: - application/json User-Agent: - contactology/0.1.2 (Rubygems; Ruby 1.9.3 x86_64-darwin12.2.0) response: status: code: 200 message: OK headers: X-Powered-By: - PHP/5.2.10 Set-Cookie: - PHPSESSID=b4d196f941c6393a1fc2c8edcdda9c47; 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 Connection: - close Transfer-Encoding: - chunked Date: - Wed, 20 Feb 2013 05:15:27 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: ! '{"97":{"campaignId":"97","campaignName":"test-find-by-name","type":"standard","contentType":"standard","status":"draft","recipients":{"list":["181"]},"exclusions":[],"subject":"Factory Campaign Message","senderName":"Sender Example","senderEmail":"sender@example.com","recipientName":"","replyToName":"","replyToEmail":null,"content":{"html":"","text":"This is a good message! {COMPANY_ADDRESS}"},"startTime":"2013-02-20 05:15:27","authenticate":false,"trackReplies":false,"showInArchive":false,"viewInBrowser":false,"trackOpens":true,"trackClickThruHTML":true,"trackClickThruText":true,"googleAnalyticsName":null,"clickTaleName":null,"clickTaleCustomFields":[""],"useCustomUrlParameters":null,"customUrlParameters":null,"footerId":"0","facebookAutopost":{"facebookAccount":null,"facebookLocation":null,"facebookName":null,"facebookDescription":null,"facebookPicture":null},"twitterAutopost":{"twitterAccount":null}}}' http_version: recorded_at: Wed, 20 Feb 2013 05:15:27 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&listId=181&method=List_Delete body: encoding: US-ASCII string: '' headers: Accept: - application/json User-Agent: - contactology/0.1.2 (Rubygems; Ruby 1.9.3 x86_64-darwin12.2.0) response: status: code: 200 message: OK headers: X-Powered-By: - PHP/5.2.10 Set-Cookie: - PHPSESSID=d9f4c77e492e292c1c7271de363a3dfd; 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 Connection: - close Transfer-Encoding: - chunked Date: - Wed, 20 Feb 2013 05:15:30 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: 'true' http_version: recorded_at: Wed, 20 Feb 2013 05:15:31 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?campaignId=97&key=%{API_KEY}&method=Campaign_Delete body: encoding: US-ASCII string: '' headers: Accept: - application/json User-Agent: - contactology/0.1.2 (Rubygems; Ruby 1.9.3 x86_64-darwin12.2.0) response: status: code: 200 message: OK headers: X-Powered-By: - PHP/5.2.10 Set-Cookie: - PHPSESSID=3b0f8e040b0aa47c5a16a7a27be30276; 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 Connection: - close Transfer-Encoding: - chunked Date: - Wed, 20 Feb 2013 05:15:32 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: 'true' http_version: recorded_at: Wed, 20 Feb 2013 05:15:32 GMT recorded_with: VCR 2.4.0