--- 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=8fddcc4c1b04597891e536d82ce3f6e2; 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: '183' http_version: recorded_at: Wed, 20 Feb 2013 05:15:32 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&listId=183&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=d41ef34417e4f5294c82b5e553524c0e; 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:33 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: ! '{"listId":"183","name":"Factory List","description":null,"type":"public","created":"2013-02-20 05:15:32","optIn":false}' http_version: recorded_at: Wed, 20 Feb 2013 05:15:33 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?campaignName=factory%20campaign&content%5Btext%5D=This%20is%20a%20good%20message!%20%7BCOMPANY_ADDRESS%7D&key=%{API_KEY}&method=Campaign_Create_Standard&recipients%5Blist%5D=183&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=b9b68f324069a8a6fded37a3529b4fd0; 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:33 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: '99' http_version: recorded_at: Wed, 20 Feb 2013 05:15:33 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?campaignId=99&key=%{API_KEY}&method=Campaign_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=04f3e87e0d5137b62861843fcba43da1; 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:33 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: ! '{"campaignId":"99","campaignName":"factory campaign","type":"standard","contentType":"standard","status":"draft","recipients":{"list":["183"]},"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:33","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:34 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&listId=183&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=e0048d8a5b61d2093ee913c5dd451128; 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:34 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: 'true' http_version: recorded_at: Wed, 20 Feb 2013 05:15:34 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?campaignId=99&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=8a726df01095201daf432bd8782ba214; 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:34 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: 'true' http_version: recorded_at: Wed, 20 Feb 2013 05:15:34 GMT recorded_with: VCR 2.4.0