madmimi 1.0.16 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (115) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +2 -0
  3. data/Gemfile +12 -0
  4. data/Gemfile.lock +93 -0
  5. data/README.rdoc +88 -37
  6. data/Rakefile +2 -30
  7. data/VERSION +1 -1
  8. data/config/paths.yml +23 -0
  9. data/lib/madmimi.rb +210 -123
  10. data/madmimi.gemspec +130 -22
  11. data/spec/cassettes/add_to_list/success.yml +54 -0
  12. data/spec/cassettes/add_to_list/user_does_not_exist.yml +165 -0
  13. data/spec/cassettes/add_to_list/user_existed.yml +54 -0
  14. data/spec/cassettes/add_to_list/user_exists.yml +171 -0
  15. data/spec/cassettes/add_to_list/user_updated.yml +174 -0
  16. data/spec/cassettes/add_user/user_did_not_exist.yml +54 -0
  17. data/spec/cassettes/add_user/user_exist.yml +303 -0
  18. data/spec/cassettes/add_user/user_existed.yml +54 -0
  19. data/spec/cassettes/add_user/user_missing.yml +138 -0
  20. data/spec/cassettes/add_user/user_updated.yml +153 -0
  21. data/spec/cassettes/add_users/users_did_not_exist.yml +54 -0
  22. data/spec/cassettes/add_users/users_exist.yml +326 -0
  23. data/spec/cassettes/add_users/users_existed.yml +54 -0
  24. data/spec/cassettes/add_users/users_missing.yml +305 -0
  25. data/spec/cassettes/add_users/users_updated.yml +327 -0
  26. data/spec/cassettes/add_users_to_list/gained_membership.yml +107 -0
  27. data/spec/cassettes/add_users_to_list/missing_membership.yml +174 -0
  28. data/spec/cassettes/add_users_to_list/users_did_not_exist.yml +54 -0
  29. data/spec/cassettes/add_users_to_list/users_exist.yml +365 -0
  30. data/spec/cassettes/add_users_to_list/users_existed.yml +54 -0
  31. data/spec/cassettes/add_users_to_list/users_missing.yml +341 -0
  32. data/spec/cassettes/add_users_to_list/users_updated.yml +365 -0
  33. data/spec/cassettes/audience_search/does_not_include_suppressed_users.yml +76 -0
  34. data/spec/cassettes/audience_search/includes_suppressed_users.yml +86 -0
  35. data/spec/cassettes/csv_import/success.yml +54 -0
  36. data/spec/cassettes/csv_import/users_exist.yml +273 -0
  37. data/spec/cassettes/csv_import/users_missing.yml +381 -0
  38. data/spec/cassettes/delete_list/exists.yml +57 -0
  39. data/spec/cassettes/delete_list/fail.yml +54 -0
  40. data/spec/cassettes/delete_list/not_exists.yml +56 -0
  41. data/spec/cassettes/delete_list/success.yml +54 -0
  42. data/spec/cassettes/delete_list/users_exist.yml +129 -0
  43. data/spec/cassettes/list_members/multiple.yml +68 -0
  44. data/spec/cassettes/list_members/single.yml +68 -0
  45. data/spec/cassettes/lists/multiple.yml +56 -0
  46. data/spec/cassettes/lists/single.yml +55 -0
  47. data/spec/cassettes/mailing_stats/mailing_does_not_exist.yml +50 -0
  48. data/spec/cassettes/mailing_stats/promotion_and_mailing_exist.yml +57 -0
  49. data/spec/cassettes/mailing_stats/promotion_does_not_exist.yml +50 -0
  50. data/spec/cassettes/members/multiple.yml +174 -0
  51. data/spec/cassettes/members/single.yml +61 -0
  52. data/spec/cassettes/memberships/multiple.yml +56 -0
  53. data/spec/cassettes/memberships/single.yml +108 -0
  54. data/spec/cassettes/new_list/exists.yml +57 -0
  55. data/spec/cassettes/new_list/fail.yml +52 -0
  56. data/spec/cassettes/new_list/not_exists.yml +56 -0
  57. data/spec/cassettes/new_list/success.yml +52 -0
  58. data/spec/cassettes/promotions/multiple.yml +63 -0
  59. data/spec/cassettes/promotions/single.yml +61 -0
  60. data/spec/cassettes/remove_from_all_list/user_does_not_have_memberships.yml +60 -0
  61. data/spec/cassettes/remove_from_all_lists/user_has_memberships.yml +113 -0
  62. data/spec/cassettes/remove_from_all_lists/user_with_memberships.yml +49 -0
  63. data/spec/cassettes/remove_from_list/user_does_not_exist.yml +49 -0
  64. data/spec/cassettes/remove_from_list/user_in_list_does_not_exist.yml +62 -0
  65. data/spec/cassettes/remove_from_list/user_in_list_exists.yml +68 -0
  66. data/spec/cassettes/remove_from_list/user_in_the_list.yml +49 -0
  67. data/spec/cassettes/remove_from_list/user_not_in_the_list.yml +49 -0
  68. data/spec/cassettes/save_promotion/only_plain_text.yml +56 -0
  69. data/spec/cassettes/save_promotion/only_raw_html.yml +56 -0
  70. data/spec/cassettes/save_promotion/promotion_exists.yml +65 -0
  71. data/spec/cassettes/save_promotion/promotion_missing.yml +63 -0
  72. data/spec/cassettes/save_promotion/raw_html_and_plain_text.yml +56 -0
  73. data/spec/cassettes/send_html/promotion_does_not_exist.yml +56 -0
  74. data/spec/cassettes/send_html/send_single.yml +53 -0
  75. data/spec/cassettes/send_html/send_to_all.yml +56 -0
  76. data/spec/cassettes/send_html/send_to_list.yml +56 -0
  77. data/spec/cassettes/send_mail/promotion_does_not_exist.yml +54 -0
  78. data/spec/cassettes/send_mail/send_single.yml +53 -0
  79. data/spec/cassettes/send_mail/send_to_all.yml +56 -0
  80. data/spec/cassettes/send_mail/send_to_list.yml +56 -0
  81. data/spec/cassettes/send_plaintext/promotion_does_not_exist.yml +56 -0
  82. data/spec/cassettes/send_plaintext/send_single.yml +53 -0
  83. data/spec/cassettes/send_plaintext/send_to_all.yml +56 -0
  84. data/spec/cassettes/send_plaintext/send_to_list.yml +56 -0
  85. data/spec/cassettes/send_plaintext/tracking_beacon_missing.yml +56 -0
  86. data/spec/cassettes/status/transactional_mail_does_not_exist.yml +51 -0
  87. data/spec/cassettes/status/transactional_mail_exists.yml +53 -0
  88. data/spec/cassettes/suppress_email/already_suppressed.yml +51 -0
  89. data/spec/cassettes/suppress_email/not_suppressed.yml +102 -0
  90. data/spec/cassettes/suppress_email/user_does_not_exist.yml +100 -0
  91. data/spec/cassettes/suppress_email/user_is_now_suppressed.yml +51 -0
  92. data/spec/cassettes/suppress_email/user_not_suppressed.yml +51 -0
  93. data/spec/cassettes/suppressed/member_does_not_exist.yml +49 -0
  94. data/spec/cassettes/suppressed/member_is_not_suppressed.yml +51 -0
  95. data/spec/cassettes/suppressed/member_is_suppressed.yml +51 -0
  96. data/spec/cassettes/suppressed_since/members_exist.yml +56 -0
  97. data/spec/cassettes/suppressed_since/no_members.yml +56 -0
  98. data/spec/cassettes/unsuppress_email/already_suppressed.yml +100 -0
  99. data/spec/cassettes/unsuppress_email/not_suppressed.yml +99 -0
  100. data/spec/cassettes/unsuppress_email/user_does_not_exist.yml +99 -0
  101. data/spec/cassettes/unsuppress_email/user_is_now_unsuppressed.yml +49 -0
  102. data/spec/cassettes/unsuppress_email/user_suppressed.yml +51 -0
  103. data/spec/cassettes/update_email/user_does_not_have_permission.yml +52 -0
  104. data/spec/cassettes/update_email/user_existed.yml +54 -0
  105. data/spec/cassettes/update_email/user_missing.yml +52 -0
  106. data/spec/cassettes/update_email/user_with_new_email.yml +345 -0
  107. data/spec/cassettes/update_email/user_with_old_email.yml +345 -0
  108. data/spec/madmimi_spec.rb +1166 -0
  109. data/spec/spec_helper.rb +15 -0
  110. metadata +210 -96
  111. data/test/fixtures/lists.xml +0 -7
  112. data/test/fixtures/promotions.xml +0 -10
  113. data/test/fixtures/search.xml +0 -38
  114. data/test/helper.rb +0 -43
  115. data/test/test_madmimi.rb +0 -63
@@ -0,0 +1,99 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.madmimi.com/audience_members/test@example.com/is_suppressed
6
+ body:
7
+ encoding: US-ASCII
8
+ string: username=test%40example.com&api_key=TEST_API_KEY
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 400
13
+ message: Bad Request
14
+ headers:
15
+ Date:
16
+ - Sun, 07 Sep 2014 19:36:16 GMT
17
+ Content-Type:
18
+ - text/html
19
+ Transfer-Encoding:
20
+ - chunked
21
+ Connection:
22
+ - keep-alive
23
+ Set-Cookie:
24
+ - __cfduid=de7b0fd6a8572507e9784fd91d3ab4d301410118576394; expires=Mon, 23-Dec-2019
25
+ 23:50:00 GMT; path=/; domain=.madmimi.com; HttpOnly
26
+ X-Ua-Compatible:
27
+ - IE=Edge,chrome=1
28
+ Cache-Control:
29
+ - no-cache
30
+ X-Request-Id:
31
+ - c70bd82e3ff8f045919a0b74a76a0796
32
+ X-Rack-Cache:
33
+ - miss
34
+ Status:
35
+ - 400 Bad Request
36
+ P3p:
37
+ - CP="CAO PSA OUR"
38
+ Vary:
39
+ - Accept-Encoding
40
+ Server:
41
+ - cloudflare-nginx
42
+ Cf-Ray:
43
+ - 16655aae7bf3088d-FRA
44
+ body:
45
+ encoding: US-ASCII
46
+ string: test@example.com does not exist
47
+ http_version:
48
+ recorded_at: Sun, 07 Sep 2014 19:36:16 GMT
49
+ - request:
50
+ method: delete
51
+ uri: http://api.madmimi.com/suppressed_audience_members/test@example.com
52
+ body:
53
+ encoding: US-ASCII
54
+ string: username=test%40example.com&api_key=TEST_API_KEY
55
+ headers: {}
56
+ response:
57
+ status:
58
+ code: 200
59
+ message: OK
60
+ headers:
61
+ Date:
62
+ - Sun, 07 Sep 2014 19:38:07 GMT
63
+ Content-Type:
64
+ - application/json; charset=utf-8
65
+ Transfer-Encoding:
66
+ - chunked
67
+ Connection:
68
+ - keep-alive
69
+ Set-Cookie:
70
+ - __cfduid=d9160596d278afe60a898e9999dd8da1a1410118687379; expires=Mon, 23-Dec-2019
71
+ 23:50:00 GMT; path=/; domain=.madmimi.com; HttpOnly
72
+ - chrome_token=; domain=madmimi.com; path=/; expires=Thu, 01-Jan-1970 00:00:00
73
+ GMT
74
+ - non_eu=true; path=/
75
+ X-Ua-Compatible:
76
+ - IE=Edge,chrome=1
77
+ Etag:
78
+ - ! '"f8e0cbe09ccd742227c3dec96bb30b7d"'
79
+ Cache-Control:
80
+ - max-age=0, private, must-revalidate
81
+ X-Request-Id:
82
+ - c041267b8bd9d33b2501c15633bc5e67
83
+ X-Rack-Cache:
84
+ - invalidate, pass
85
+ Status:
86
+ - 200 OK
87
+ P3p:
88
+ - CP="CAO PSA OUR"
89
+ Server:
90
+ - cloudflare-nginx
91
+ Cf-Ray:
92
+ - 16655d64109d0479-FRA
93
+ body:
94
+ encoding: US-ASCII
95
+ string: ! '{"success":false,"error":"undefined method `suppressed_lists'' for
96
+ nil:NilClass"}'
97
+ http_version:
98
+ recorded_at: Sun, 07 Sep 2014 19:38:07 GMT
99
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,99 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.madmimi.com/audience_members/test@example.com/is_suppressed
6
+ body:
7
+ encoding: US-ASCII
8
+ string: username=test%40example.com&api_key=TEST_API_KEY
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 400
13
+ message: Bad Request
14
+ headers:
15
+ Date:
16
+ - Sun, 07 Sep 2014 19:36:17 GMT
17
+ Content-Type:
18
+ - text/html
19
+ Transfer-Encoding:
20
+ - chunked
21
+ Connection:
22
+ - keep-alive
23
+ Set-Cookie:
24
+ - __cfduid=dde20b2382d296d7f7d2f646a508b274b1410118577553; expires=Mon, 23-Dec-2019
25
+ 23:50:00 GMT; path=/; domain=.madmimi.com; HttpOnly
26
+ X-Ua-Compatible:
27
+ - IE=Edge,chrome=1
28
+ Cache-Control:
29
+ - no-cache
30
+ X-Request-Id:
31
+ - d30370dd53152151ded5328f5c5f4cc2
32
+ X-Rack-Cache:
33
+ - miss
34
+ Status:
35
+ - 400 Bad Request
36
+ P3p:
37
+ - CP="CAO PSA OUR"
38
+ Vary:
39
+ - Accept-Encoding
40
+ Server:
41
+ - cloudflare-nginx
42
+ Cf-Ray:
43
+ - 16655ab5b18b088d-FRA
44
+ body:
45
+ encoding: US-ASCII
46
+ string: test@example.com does not exist
47
+ http_version:
48
+ recorded_at: Sun, 07 Sep 2014 19:36:17 GMT
49
+ - request:
50
+ method: delete
51
+ uri: http://api.madmimi.com/suppressed_audience_members/test@example.com
52
+ body:
53
+ encoding: US-ASCII
54
+ string: username=test%40example.com&api_key=TEST_API_KEY
55
+ headers: {}
56
+ response:
57
+ status:
58
+ code: 200
59
+ message: OK
60
+ headers:
61
+ Date:
62
+ - Sun, 07 Sep 2014 19:38:08 GMT
63
+ Content-Type:
64
+ - application/json; charset=utf-8
65
+ Transfer-Encoding:
66
+ - chunked
67
+ Connection:
68
+ - keep-alive
69
+ Set-Cookie:
70
+ - __cfduid=dcb78e159418779c4141ee372bbf281c61410118687849; expires=Mon, 23-Dec-2019
71
+ 23:50:00 GMT; path=/; domain=.madmimi.com; HttpOnly
72
+ - chrome_token=; domain=madmimi.com; path=/; expires=Thu, 01-Jan-1970 00:00:00
73
+ GMT
74
+ - non_eu=true; path=/
75
+ X-Ua-Compatible:
76
+ - IE=Edge,chrome=1
77
+ Etag:
78
+ - ! '"f8e0cbe09ccd742227c3dec96bb30b7d"'
79
+ Cache-Control:
80
+ - max-age=0, private, must-revalidate
81
+ X-Request-Id:
82
+ - 23c085dceb1a66b0248bc1aa2e9986b1
83
+ X-Rack-Cache:
84
+ - invalidate, pass
85
+ Status:
86
+ - 200 OK
87
+ P3p:
88
+ - CP="CAO PSA OUR"
89
+ Server:
90
+ - cloudflare-nginx
91
+ Cf-Ray:
92
+ - 16655d6704860479-FRA
93
+ body:
94
+ encoding: US-ASCII
95
+ string: ! '{"success":false,"error":"undefined method `suppressed_lists'' for
96
+ nil:NilClass"}'
97
+ http_version:
98
+ recorded_at: Sun, 07 Sep 2014 19:38:07 GMT
99
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,49 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.madmimi.com/audience_members/test@example.com/is_suppressed
6
+ body:
7
+ encoding: US-ASCII
8
+ string: username=test%40example.com&api_key=TEST_API_KEY
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 400
13
+ message: Bad Request
14
+ headers:
15
+ Date:
16
+ - Sun, 07 Sep 2014 19:36:17 GMT
17
+ Content-Type:
18
+ - text/html
19
+ Transfer-Encoding:
20
+ - chunked
21
+ Connection:
22
+ - keep-alive
23
+ Set-Cookie:
24
+ - __cfduid=d7cdd8b823163fcbd89f1c284358126b31410118576927; expires=Mon, 23-Dec-2019
25
+ 23:50:00 GMT; path=/; domain=.madmimi.com; HttpOnly
26
+ X-Ua-Compatible:
27
+ - IE=Edge,chrome=1
28
+ Cache-Control:
29
+ - no-cache
30
+ X-Request-Id:
31
+ - 429a5bfc2110a788173b364cd1839028
32
+ X-Rack-Cache:
33
+ - miss
34
+ Status:
35
+ - 400 Bad Request
36
+ P3p:
37
+ - CP="CAO PSA OUR"
38
+ Vary:
39
+ - Accept-Encoding
40
+ Server:
41
+ - cloudflare-nginx
42
+ Cf-Ray:
43
+ - 16655ab1c55f088d-FRA
44
+ body:
45
+ encoding: US-ASCII
46
+ string: test@example.com does not exist
47
+ http_version:
48
+ recorded_at: Sun, 07 Sep 2014 19:36:16 GMT
49
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,51 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://api.madmimi.com/audience_members/test@example.com/is_suppressed
6
+ body:
7
+ encoding: US-ASCII
8
+ string: username=test%40example.com&api_key=TEST_API_KEY
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ Date:
16
+ - Sun, 07 Sep 2014 19:34:44 GMT
17
+ Content-Type:
18
+ - text/html
19
+ Transfer-Encoding:
20
+ - chunked
21
+ Connection:
22
+ - keep-alive
23
+ Set-Cookie:
24
+ - __cfduid=dfee44366ff26c9756aca0ffb69c7b5bc1410118483865; expires=Mon, 23-Dec-2019
25
+ 23:50:00 GMT; path=/; domain=.madmimi.com; HttpOnly
26
+ X-Ua-Compatible:
27
+ - IE=Edge,chrome=1
28
+ Etag:
29
+ - W/"68934a3e9455fa72420237eb05902327"
30
+ Cache-Control:
31
+ - max-age=0, private, must-revalidate
32
+ X-Request-Id:
33
+ - a8177e9e0a776d123ef8bdf2995dcb94
34
+ X-Rack-Cache:
35
+ - miss
36
+ Status:
37
+ - 200 OK
38
+ P3p:
39
+ - CP="CAO PSA OUR"
40
+ Vary:
41
+ - Accept-Encoding
42
+ Server:
43
+ - cloudflare-nginx
44
+ Cf-Ray:
45
+ - 1665586c2880088d-FRA
46
+ body:
47
+ encoding: US-ASCII
48
+ string: 'true'
49
+ http_version:
50
+ recorded_at: Sun, 07 Sep 2014 19:34:43 GMT
51
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.madmimi.com/audience_members/test@example.com/update_email
6
+ body:
7
+ encoding: US-ASCII
8
+ string: username=test%40example.com&api_key=TEST_API_KEY&email=test%40example.com&new_email=updated%40example.com
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 401
13
+ message: Unauthorized
14
+ headers:
15
+ Date:
16
+ - Sun, 07 Sep 2014 19:04:15 GMT
17
+ Content-Type:
18
+ - text/html; charset=utf-8
19
+ Transfer-Encoding:
20
+ - chunked
21
+ Connection:
22
+ - keep-alive
23
+ Set-Cookie:
24
+ - __cfduid=d12a04d61821610203ddd1408fd12be071410116655576; expires=Mon, 23-Dec-2019
25
+ 23:50:00 GMT; path=/; domain=.madmimi.com; HttpOnly
26
+ - chrome_token=; domain=madmimi.com; path=/; expires=Thu, 01-Jan-1970 00:00:00
27
+ GMT
28
+ - non_eu=true; path=/
29
+ X-Ua-Compatible:
30
+ - IE=Edge,chrome=1
31
+ Cache-Control:
32
+ - no-cache
33
+ X-Request-Id:
34
+ - 4f8c9e8f1105429746b642290c873e70
35
+ X-Rack-Cache:
36
+ - invalidate, pass
37
+ Status:
38
+ - 401 Unauthorized
39
+ P3p:
40
+ - CP="CAO PSA OUR"
41
+ Vary:
42
+ - Accept-Encoding
43
+ Server:
44
+ - cloudflare-nginx
45
+ Cf-Ray:
46
+ - 16652bc958d0088d-FRA
47
+ body:
48
+ encoding: US-ASCII
49
+ string: You do not have the rights to use this API
50
+ http_version:
51
+ recorded_at: Sun, 07 Sep 2014 19:04:15 GMT
52
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,54 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.madmimi.com/audience_members/test@example.com/update_email
6
+ body:
7
+ encoding: US-ASCII
8
+ string: username=test%40example.com&api_key=TEST_API_KEY&email=test%40example.com&new_email=updated%40example.com
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 200
13
+ message: OK
14
+ headers:
15
+ Date:
16
+ - Sun, 07 Sep 2014 18:59:41 GMT
17
+ Content-Type:
18
+ - text/html; charset=utf-8
19
+ Transfer-Encoding:
20
+ - chunked
21
+ Connection:
22
+ - keep-alive
23
+ Set-Cookie:
24
+ - __cfduid=d870a194340c0370f22e46131376132fb1410116381385; expires=Mon, 23-Dec-2019
25
+ 23:50:00 GMT; path=/; domain=.madmimi.com; HttpOnly
26
+ - chrome_token=; domain=madmimi.com; path=/; expires=Thu, 01-Jan-1970 00:00:00
27
+ GMT
28
+ - non_eu=true; path=/
29
+ X-Ua-Compatible:
30
+ - IE=Edge,chrome=1
31
+ Etag:
32
+ - W/"7215ee9c7d9dc229d2921a40e899ec5f"
33
+ Cache-Control:
34
+ - max-age=0, private, must-revalidate
35
+ X-Request-Id:
36
+ - d60eafcecffc975ab09f22e34697c2d7
37
+ X-Rack-Cache:
38
+ - invalidate, pass
39
+ Status:
40
+ - 200 OK
41
+ P3p:
42
+ - CP="CAO PSA OUR"
43
+ Vary:
44
+ - Accept-Encoding
45
+ Server:
46
+ - cloudflare-nginx
47
+ Cf-Ray:
48
+ - 16652517ad770479-FRA
49
+ body:
50
+ encoding: US-ASCII
51
+ string: ! ' '
52
+ http_version:
53
+ recorded_at: Sun, 07 Sep 2014 18:59:41 GMT
54
+ recorded_with: VCR 2.9.2
@@ -0,0 +1,52 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://api.madmimi.com/audience_members/test@example.com/update_email
6
+ body:
7
+ encoding: US-ASCII
8
+ string: username=test%40example.com&api_key=TEST_API_KEY&email=test%40example.com&new_email=updated%40example.com
9
+ headers: {}
10
+ response:
11
+ status:
12
+ code: 400
13
+ message: Bad Request
14
+ headers:
15
+ Date:
16
+ - Sun, 07 Sep 2014 18:59:43 GMT
17
+ Content-Type:
18
+ - text/html; charset=utf-8
19
+ Transfer-Encoding:
20
+ - chunked
21
+ Connection:
22
+ - keep-alive
23
+ Set-Cookie:
24
+ - __cfduid=d9cc75a4f629d15c61d623fe9a4255c791410116383162; expires=Mon, 23-Dec-2019
25
+ 23:50:00 GMT; path=/; domain=.madmimi.com; HttpOnly
26
+ - chrome_token=; domain=madmimi.com; path=/; expires=Thu, 01-Jan-1970 00:00:00
27
+ GMT
28
+ - non_eu=true; path=/
29
+ X-Ua-Compatible:
30
+ - IE=Edge,chrome=1
31
+ Cache-Control:
32
+ - no-cache
33
+ X-Request-Id:
34
+ - 0d1dacbd44a0b1e4f14d52ada8dc3ffa
35
+ X-Rack-Cache:
36
+ - invalidate, pass
37
+ Status:
38
+ - 400 Bad Request
39
+ P3p:
40
+ - CP="CAO PSA OUR"
41
+ Vary:
42
+ - Accept-Encoding
43
+ Server:
44
+ - cloudflare-nginx
45
+ Cf-Ray:
46
+ - 16652522cd410479-FRA
47
+ body:
48
+ encoding: US-ASCII
49
+ string: Member test@example.com does not exist
50
+ http_version:
51
+ recorded_at: Sun, 07 Sep 2014 18:59:42 GMT
52
+ recorded_with: VCR 2.9.2