--- http_interactions: - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&method=List_Add_Public&name=send-standard-campaign-failure 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=652de080a88ca55ef54b5a9118cece07; 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:14:47 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: '159' http_version: recorded_at: Wed, 20 Feb 2013 05:14:47 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&listId=159&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=699c6f9db8cf7440125f53301791ea6f; 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:14:47 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: ! '{"listId":"159","name":"send-standard-campaign-failure","description":null,"type":"public","created":"2013-02-20 05:14:47","optIn":false}' http_version: recorded_at: Wed, 20 Feb 2013 05:14:47 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?email=factory-contact@example.com&key=%{API_KEY}&method=Contact_Add&optionalParameters%5BupdateCustomFields%5D=true 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=9c1eea7e9a32b1df833d7e5bc2f60cef; 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:14:47 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: 'true' http_version: recorded_at: Wed, 20 Feb 2013 05:14:47 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?email=factory-contact@example.com&key=%{API_KEY}&listId=159&method=List_Subscribe 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=c3bf97ffc5be5e86501cd5763c2e80ab; 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:14:48 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: 'true' http_version: recorded_at: Wed, 20 Feb 2013 05:14:48 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=159&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=1e11afa14ea02963a620565fb56d4c2e; 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:14:48 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: '93' http_version: recorded_at: Wed, 20 Feb 2013 05:14:48 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&method=Campaign_Send 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=a93161008ca5e183acd6a459ee0c174c; 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:14:48 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: ! '{"result":"error","message":"Missing parameter campaignId for Campaign_Send","code":2}' http_version: recorded_at: Wed, 20 Feb 2013 05:14:49 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&listId=159&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=ab74d694cdffd529221ba139ccaaa6d8; 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:14:49 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: 'true' http_version: recorded_at: Wed, 20 Feb 2013 05:14:49 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?email=factory-contact@example.com&key=%{API_KEY}&method=Contact_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=57bb5cb5e5f7f14e11000edc821f2b51; 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:14:49 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: 'true' http_version: recorded_at: Wed, 20 Feb 2013 05:14:49 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?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=074d6d5ee2d81ff8327567eb75d804e9; 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:14:50 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: ! '{"result":"error","message":"Missing parameter campaignId for Campaign_Delete","code":2}' http_version: recorded_at: Wed, 20 Feb 2013 05:14:50 GMT recorded_with: VCR 2.4.0