--- http_interactions: - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&method=List_Add_Public&name=import-test 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=8e92647ef50548b0c807149b2f253780; 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:22 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: '177' http_version: recorded_at: Wed, 20 Feb 2013 05:15:22 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&listId=177&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=e9009643a8d3021b6aab86da938e90a7; 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:22 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: ! '{"listId":"177","name":"import-test","description":null,"type":"public","created":"2013-02-20 05:15:22","optIn":false}' http_version: recorded_at: Wed, 20 Feb 2013 05:15:22 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?contacts%5Bemail%5D=import@example.com&key=%{API_KEY}&listId=177&method=List_Import_Contacts&optionalParameters%5BactivateDeleted%5D=true&optionalParameters%5BupdateCustomFields%5D=true&source=Manual%20Entry 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=6b2838ca1f1efd75319748cc50725b00; 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:23 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: ! '{"errors":[],"success":1}' http_version: recorded_at: Wed, 20 Feb 2013 05:15:23 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?key=%{API_KEY}&listId=177&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=98b49e572cf51a503bdd6408b7e592a4; 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:23 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: 'true' http_version: recorded_at: Wed, 20 Feb 2013 05:15:23 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?email=import@example.com&key=%{API_KEY}&method=Contact_Get&optionalParameters%5BgetAllCustomFields%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=1b30747f11d9c40f178fba01f2118ebb; 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:23 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: ! '{"import@example.com":{"contactId":"17","email":"import@example.com","source":"Manual Entry","status":"active","customFields":{"first_name":"","last_name":"","email_address":"import@example.com"}}}' http_version: recorded_at: Wed, 20 Feb 2013 05:15:24 GMT - request: method: get uri: https://api.emailcampaigns.net/2/REST/?email=import@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=9cc5cebfeecbabfd881caf77412eeff0; 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:24 GMT Server: - lighttpd/1.4.28 body: encoding: US-ASCII string: 'true' http_version: recorded_at: Wed, 20 Feb 2013 05:15:24 GMT recorded_with: VCR 2.4.0