litmus-instant 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/ci.yml +29 -0
- data/.gitignore +0 -2
- data/.ruby-version +1 -1
- data/Gemfile.lock +94 -0
- data/LICENSE.txt +1 -1
- data/README.md +0 -2
- data/fixtures/vcr_cassettes/Litmus_Instant/Litmus_Instant_Client_provides_Litmus_Instant_class_methods_as_instance_methods.yml +165 -49
- data/fixtures/vcr_cassettes/Litmus_Instant/Litmus_Instant_Client_uses_its_own_config.yml +18 -94
- data/fixtures/vcr_cassettes/Litmus_Instant/client_configurations/returns_a_Hash_of_clients_and_their_available_options.yml +1032 -141
- data/fixtures/vcr_cassettes/Litmus_Instant/clients/returns_an_array_of_client_names.yml +83 -25
- data/fixtures/vcr_cassettes/Litmus_Instant/create_email/authenticated_with_invalid_email_Hash_raise_a_request_error.yml +8 -43
- data/fixtures/vcr_cassettes/Litmus_Instant/create_email/authenticated_with_valid_email_Hash_optional_end_user_id_is_relayed.yml +9 -49
- data/fixtures/vcr_cassettes/Litmus_Instant/create_email/authenticated_with_valid_email_Hash_prerequest_configurations_is_relayed.yml +9 -60
- data/fixtures/vcr_cassettes/Litmus_Instant/create_email/authenticated_with_valid_email_Hash_response_.yml +9 -48
- data/fixtures/vcr_cassettes/Litmus_Instant/create_email/unauthenticated_raises_an_authentication_error.yml +9 -6
- data/fixtures/vcr_cassettes/Litmus_Instant/get_preview/raises_NotFound_for_an_expired_email_guid.yml +9 -6
- data/fixtures/vcr_cassettes/Litmus_Instant/get_preview/raises_RequestError_for_an_invalid_client.yml +16 -90
- data/fixtures/vcr_cassettes/Litmus_Instant/get_preview/raises_RequestError_for_an_invalid_email_guid.yml +9 -6
- data/fixtures/vcr_cassettes/Litmus_Instant/get_preview/returns_a_Hash_of_the_image_types.yml +19 -99
- data/fixtures/vcr_cassettes/Litmus_Instant/get_preview/supports_optional_capture_configuration.yml +19 -99
- data/fixtures/vcr_cassettes/Litmus_Instant/prefetch_previews/raises_RequestError_for_an_invalid_email_guid.yml +9 -6
- data/fixtures/vcr_cassettes/Litmus_Instant/prefetch_previews/raises_RequestError_if_any_invalid_configurations_are_present.yml +16 -90
- data/fixtures/vcr_cassettes/Litmus_Instant/prefetch_previews/responds_with_an_array_of_the_requested_configurations.yml +16 -99
- data/lib/litmus/instant/version.rb +1 -1
- data/litmus-instant.gemspec +3 -3
- metadata +15 -14
data/fixtures/vcr_cassettes/Litmus_Instant/get_preview/raises_RequestError_for_an_invalid_client.yml
CHANGED
@@ -11,8 +11,12 @@ http_interactions:
|
|
11
11
|
- application/json
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
14
18
|
Authorization:
|
15
|
-
- Basic
|
19
|
+
- Basic <ENCODED_API_KEY>
|
16
20
|
response:
|
17
21
|
status:
|
18
22
|
code: 200
|
@@ -21,89 +25,11 @@ http_interactions:
|
|
21
25
|
Server:
|
22
26
|
- nginx
|
23
27
|
Date:
|
24
|
-
-
|
28
|
+
- Wed, 10 Nov 2021 14:36:36 GMT
|
25
29
|
Content-Type:
|
26
30
|
- application/json;charset=utf-8
|
27
31
|
Content-Length:
|
28
32
|
- '58'
|
29
|
-
Connection:
|
30
|
-
- keep-alive
|
31
|
-
Strict-Transport-Security:
|
32
|
-
- max-age=3600; includeSubdomains; preload
|
33
|
-
X-Frame-Options:
|
34
|
-
- DENY
|
35
|
-
X-Content-Type-Options:
|
36
|
-
- nosniff
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: |-
|
40
|
-
{
|
41
|
-
"email_guid": "92d9cb6d-6ea0-4b46-813c-3025214f80fd"
|
42
|
-
}
|
43
|
-
http_version:
|
44
|
-
recorded_at: Mon, 20 Jun 2016 11:43:52 GMT
|
45
|
-
- request:
|
46
|
-
method: get
|
47
|
-
uri: https://instant-api.litmus.com/v1/emails/92d9cb6d-6ea0-4b46-813c-3025214f80fd/previews/OL2001MYSPACEODYSSEY
|
48
|
-
body:
|
49
|
-
encoding: US-ASCII
|
50
|
-
string: ''
|
51
|
-
headers:
|
52
|
-
Content-Type:
|
53
|
-
- application/json
|
54
|
-
Accept:
|
55
|
-
- application/json
|
56
|
-
response:
|
57
|
-
status:
|
58
|
-
code: 400
|
59
|
-
message: Bad Request
|
60
|
-
headers:
|
61
|
-
Server:
|
62
|
-
- nginx
|
63
|
-
Date:
|
64
|
-
- Mon, 20 Jun 2016 11:43:50 GMT
|
65
|
-
Content-Type:
|
66
|
-
- application/json;charset=utf-8
|
67
|
-
Content-Length:
|
68
|
-
- '102'
|
69
|
-
Connection:
|
70
|
-
- keep-alive
|
71
|
-
body:
|
72
|
-
encoding: UTF-8
|
73
|
-
string: |-
|
74
|
-
{
|
75
|
-
"status": 400,
|
76
|
-
"title": "Bad Request",
|
77
|
-
"description": "'client' must be valid, see /clients"
|
78
|
-
}
|
79
|
-
http_version:
|
80
|
-
recorded_at: Mon, 20 Jun 2016 11:43:53 GMT
|
81
|
-
- request:
|
82
|
-
method: post
|
83
|
-
uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
|
84
|
-
body:
|
85
|
-
encoding: UTF-8
|
86
|
-
string: '{"plain_text":"Hej världen! Kärlek, den svenska kocken."}'
|
87
|
-
headers:
|
88
|
-
Content-Type:
|
89
|
-
- application/json
|
90
|
-
Accept:
|
91
|
-
- application/json
|
92
|
-
response:
|
93
|
-
status:
|
94
|
-
code: 200
|
95
|
-
message: OK
|
96
|
-
headers:
|
97
|
-
Server:
|
98
|
-
- nginx
|
99
|
-
Date:
|
100
|
-
- Fri, 21 Jul 2017 12:59:17 GMT
|
101
|
-
Content-Type:
|
102
|
-
- application/json;charset=utf-8
|
103
|
-
Content-Length:
|
104
|
-
- '58'
|
105
|
-
Connection:
|
106
|
-
- keep-alive
|
107
33
|
Vary:
|
108
34
|
- Origin
|
109
35
|
Strict-Transport-Security:
|
@@ -116,13 +42,12 @@ http_interactions:
|
|
116
42
|
encoding: UTF-8
|
117
43
|
string: |-
|
118
44
|
{
|
119
|
-
"email_guid": "
|
45
|
+
"email_guid": "5b893fa9-a8d3-41be-842c-cfd1967d3e40"
|
120
46
|
}
|
121
|
-
|
122
|
-
recorded_at: Fri, 21 Jul 2017 13:01:50 GMT
|
47
|
+
recorded_at: Wed, 10 Nov 2021 14:36:36 GMT
|
123
48
|
- request:
|
124
49
|
method: get
|
125
|
-
uri: https://instant-api.litmus.com/v1/emails/
|
50
|
+
uri: https://instant-api.litmus.com/v1/emails/5b893fa9-a8d3-41be-842c-cfd1967d3e40/previews/OL2001MYSPACEODYSSEY
|
126
51
|
body:
|
127
52
|
encoding: US-ASCII
|
128
53
|
string: ''
|
@@ -131,6 +56,10 @@ http_interactions:
|
|
131
56
|
- application/json
|
132
57
|
Accept:
|
133
58
|
- application/json
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
61
|
+
User-Agent:
|
62
|
+
- Ruby
|
134
63
|
response:
|
135
64
|
status:
|
136
65
|
code: 400
|
@@ -139,13 +68,11 @@ http_interactions:
|
|
139
68
|
Server:
|
140
69
|
- nginx
|
141
70
|
Date:
|
142
|
-
-
|
71
|
+
- Wed, 10 Nov 2021 14:36:36 GMT
|
143
72
|
Content-Type:
|
144
73
|
- application/json;charset=utf-8
|
145
74
|
Content-Length:
|
146
75
|
- '102'
|
147
|
-
Connection:
|
148
|
-
- keep-alive
|
149
76
|
Vary:
|
150
77
|
- Origin
|
151
78
|
body:
|
@@ -156,6 +83,5 @@ http_interactions:
|
|
156
83
|
"title": "Bad Request",
|
157
84
|
"description": "'client' must be valid, see /clients"
|
158
85
|
}
|
159
|
-
|
160
|
-
|
161
|
-
recorded_with: VCR 2.9.3
|
86
|
+
recorded_at: Wed, 10 Nov 2021 14:36:36 GMT
|
87
|
+
recorded_with: VCR 6.0.0
|
@@ -11,6 +11,10 @@ http_interactions:
|
|
11
11
|
- application/json
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
14
18
|
response:
|
15
19
|
status:
|
16
20
|
code: 400
|
@@ -19,13 +23,13 @@ http_interactions:
|
|
19
23
|
Server:
|
20
24
|
- nginx
|
21
25
|
Date:
|
22
|
-
-
|
26
|
+
- Wed, 10 Nov 2021 14:36:34 GMT
|
23
27
|
Content-Type:
|
24
28
|
- application/json;charset=utf-8
|
25
29
|
Content-Length:
|
26
30
|
- '115'
|
27
|
-
|
28
|
-
-
|
31
|
+
Vary:
|
32
|
+
- Origin
|
29
33
|
body:
|
30
34
|
encoding: UTF-8
|
31
35
|
string: |-
|
@@ -34,6 +38,5 @@ http_interactions:
|
|
34
38
|
"title": "Bad Request",
|
35
39
|
"description": "'email_guid' must match format of a standard GUID"
|
36
40
|
}
|
37
|
-
|
38
|
-
|
39
|
-
recorded_with: VCR 2.9.3
|
41
|
+
recorded_at: Wed, 10 Nov 2021 14:36:34 GMT
|
42
|
+
recorded_with: VCR 6.0.0
|
data/fixtures/vcr_cassettes/Litmus_Instant/get_preview/returns_a_Hash_of_the_image_types.yml
CHANGED
@@ -11,8 +11,12 @@ http_interactions:
|
|
11
11
|
- application/json
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
14
18
|
Authorization:
|
15
|
-
- Basic
|
19
|
+
- Basic <ENCODED_API_KEY>
|
16
20
|
response:
|
17
21
|
status:
|
18
22
|
code: 200
|
@@ -21,95 +25,11 @@ http_interactions:
|
|
21
25
|
Server:
|
22
26
|
- nginx
|
23
27
|
Date:
|
24
|
-
-
|
28
|
+
- Wed, 10 Nov 2021 14:36:41 GMT
|
25
29
|
Content-Type:
|
26
30
|
- application/json;charset=utf-8
|
27
31
|
Content-Length:
|
28
32
|
- '58'
|
29
|
-
Connection:
|
30
|
-
- keep-alive
|
31
|
-
Strict-Transport-Security:
|
32
|
-
- max-age=3600; includeSubdomains; preload
|
33
|
-
X-Frame-Options:
|
34
|
-
- DENY
|
35
|
-
X-Content-Type-Options:
|
36
|
-
- nosniff
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: |-
|
40
|
-
{
|
41
|
-
"email_guid": "92d9cb6d-6ea0-4b46-813c-3025214f80fd"
|
42
|
-
}
|
43
|
-
http_version:
|
44
|
-
recorded_at: Mon, 20 Jun 2016 11:43:54 GMT
|
45
|
-
- request:
|
46
|
-
method: get
|
47
|
-
uri: https://instant-api.litmus.com/v1/emails/92d9cb6d-6ea0-4b46-813c-3025214f80fd/previews/PLAINTEXT
|
48
|
-
body:
|
49
|
-
encoding: US-ASCII
|
50
|
-
string: ''
|
51
|
-
headers:
|
52
|
-
Content-Type:
|
53
|
-
- application/json
|
54
|
-
Accept:
|
55
|
-
- application/json
|
56
|
-
response:
|
57
|
-
status:
|
58
|
-
code: 200
|
59
|
-
message: OK
|
60
|
-
headers:
|
61
|
-
Server:
|
62
|
-
- nginx
|
63
|
-
Date:
|
64
|
-
- Mon, 20 Jun 2016 11:43:56 GMT
|
65
|
-
Content-Type:
|
66
|
-
- application/json;charset=utf-8
|
67
|
-
Content-Length:
|
68
|
-
- '436'
|
69
|
-
Connection:
|
70
|
-
- keep-alive
|
71
|
-
Strict-Transport-Security:
|
72
|
-
- max-age=3600; includeSubdomains; preload
|
73
|
-
X-Frame-Options:
|
74
|
-
- DENY
|
75
|
-
X-Content-Type-Options:
|
76
|
-
- nosniff
|
77
|
-
body:
|
78
|
-
encoding: UTF-8
|
79
|
-
string: |-
|
80
|
-
{
|
81
|
-
"full_url": "https://plaintext.capture.litmuscdn.com/92d9cb6d-6ea0-4b46-813c-3025214f80fd/results/plaintext-vertical-allowed-1366.png",
|
82
|
-
"thumb_url": "https://plaintext.capture.litmuscdn.com/92d9cb6d-6ea0-4b46-813c-3025214f80fd/results/plaintext-vertical-allowed-1366-thumb.png",
|
83
|
-
"thumb450_url": "https://plaintext.capture.litmuscdn.com/92d9cb6d-6ea0-4b46-813c-3025214f80fd/results/plaintext-vertical-allowed-1366-thumb450.png"
|
84
|
-
}
|
85
|
-
http_version:
|
86
|
-
recorded_at: Mon, 20 Jun 2016 11:43:58 GMT
|
87
|
-
- request:
|
88
|
-
method: post
|
89
|
-
uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
|
90
|
-
body:
|
91
|
-
encoding: UTF-8
|
92
|
-
string: '{"plain_text":"Hej världen! Kärlek, den svenska kocken."}'
|
93
|
-
headers:
|
94
|
-
Content-Type:
|
95
|
-
- application/json
|
96
|
-
Accept:
|
97
|
-
- application/json
|
98
|
-
response:
|
99
|
-
status:
|
100
|
-
code: 200
|
101
|
-
message: OK
|
102
|
-
headers:
|
103
|
-
Server:
|
104
|
-
- nginx
|
105
|
-
Date:
|
106
|
-
- Fri, 21 Jul 2017 12:59:19 GMT
|
107
|
-
Content-Type:
|
108
|
-
- application/json;charset=utf-8
|
109
|
-
Content-Length:
|
110
|
-
- '58'
|
111
|
-
Connection:
|
112
|
-
- keep-alive
|
113
33
|
Vary:
|
114
34
|
- Origin
|
115
35
|
Strict-Transport-Security:
|
@@ -122,13 +42,12 @@ http_interactions:
|
|
122
42
|
encoding: UTF-8
|
123
43
|
string: |-
|
124
44
|
{
|
125
|
-
"email_guid": "
|
45
|
+
"email_guid": "cd96ae61-a466-4016-ba70-b60e2965b045"
|
126
46
|
}
|
127
|
-
|
128
|
-
recorded_at: Fri, 21 Jul 2017 13:01:51 GMT
|
47
|
+
recorded_at: Wed, 10 Nov 2021 14:36:41 GMT
|
129
48
|
- request:
|
130
49
|
method: get
|
131
|
-
uri: https://instant-api.litmus.com/v1/emails/
|
50
|
+
uri: https://instant-api.litmus.com/v1/emails/cd96ae61-a466-4016-ba70-b60e2965b045/previews/PLAINTEXT
|
132
51
|
body:
|
133
52
|
encoding: US-ASCII
|
134
53
|
string: ''
|
@@ -137,6 +56,10 @@ http_interactions:
|
|
137
56
|
- application/json
|
138
57
|
Accept:
|
139
58
|
- application/json
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
61
|
+
User-Agent:
|
62
|
+
- Ruby
|
140
63
|
response:
|
141
64
|
status:
|
142
65
|
code: 200
|
@@ -145,13 +68,11 @@ http_interactions:
|
|
145
68
|
Server:
|
146
69
|
- nginx
|
147
70
|
Date:
|
148
|
-
-
|
71
|
+
- Wed, 10 Nov 2021 14:36:46 GMT
|
149
72
|
Content-Type:
|
150
73
|
- application/json;charset=utf-8
|
151
74
|
Content-Length:
|
152
75
|
- '436'
|
153
|
-
Connection:
|
154
|
-
- keep-alive
|
155
76
|
Vary:
|
156
77
|
- Origin
|
157
78
|
Strict-Transport-Security:
|
@@ -164,10 +85,9 @@ http_interactions:
|
|
164
85
|
encoding: UTF-8
|
165
86
|
string: |-
|
166
87
|
{
|
167
|
-
"full_url": "https://plaintext.capture.litmuscdn.com/
|
168
|
-
"thumb_url": "https://plaintext.capture.litmuscdn.com/
|
169
|
-
"thumb450_url": "https://plaintext.capture.litmuscdn.com/
|
88
|
+
"full_url": "https://plaintext.capture.litmuscdn.com/cd96ae61-a466-4016-ba70-b60e2965b045/results/plaintext-vertical-allowed-1366.png",
|
89
|
+
"thumb_url": "https://plaintext.capture.litmuscdn.com/cd96ae61-a466-4016-ba70-b60e2965b045/results/plaintext-vertical-allowed-1366-thumb.png",
|
90
|
+
"thumb450_url": "https://plaintext.capture.litmuscdn.com/cd96ae61-a466-4016-ba70-b60e2965b045/results/plaintext-vertical-allowed-1366-thumb450.png"
|
170
91
|
}
|
171
|
-
|
172
|
-
|
173
|
-
recorded_with: VCR 2.9.3
|
92
|
+
recorded_at: Wed, 10 Nov 2021 14:36:47 GMT
|
93
|
+
recorded_with: VCR 6.0.0
|
data/fixtures/vcr_cassettes/Litmus_Instant/get_preview/supports_optional_capture_configuration.yml
CHANGED
@@ -11,8 +11,12 @@ http_interactions:
|
|
11
11
|
- application/json
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
14
18
|
Authorization:
|
15
|
-
- Basic
|
19
|
+
- Basic <ENCODED_API_KEY>
|
16
20
|
response:
|
17
21
|
status:
|
18
22
|
code: 200
|
@@ -21,95 +25,11 @@ http_interactions:
|
|
21
25
|
Server:
|
22
26
|
- nginx
|
23
27
|
Date:
|
24
|
-
-
|
28
|
+
- Wed, 10 Nov 2021 14:36:47 GMT
|
25
29
|
Content-Type:
|
26
30
|
- application/json;charset=utf-8
|
27
31
|
Content-Length:
|
28
32
|
- '58'
|
29
|
-
Connection:
|
30
|
-
- keep-alive
|
31
|
-
Strict-Transport-Security:
|
32
|
-
- max-age=3600; includeSubdomains; preload
|
33
|
-
X-Frame-Options:
|
34
|
-
- DENY
|
35
|
-
X-Content-Type-Options:
|
36
|
-
- nosniff
|
37
|
-
body:
|
38
|
-
encoding: UTF-8
|
39
|
-
string: |-
|
40
|
-
{
|
41
|
-
"email_guid": "92d9cb6d-6ea0-4b46-813c-3025214f80fd"
|
42
|
-
}
|
43
|
-
http_version:
|
44
|
-
recorded_at: Mon, 20 Jun 2016 11:43:59 GMT
|
45
|
-
- request:
|
46
|
-
method: get
|
47
|
-
uri: https://instant-api.litmus.com/v1/emails/92d9cb6d-6ea0-4b46-813c-3025214f80fd/previews/OL2010?images=blocked&orientation=vertical
|
48
|
-
body:
|
49
|
-
encoding: US-ASCII
|
50
|
-
string: ''
|
51
|
-
headers:
|
52
|
-
Content-Type:
|
53
|
-
- application/json
|
54
|
-
Accept:
|
55
|
-
- application/json
|
56
|
-
response:
|
57
|
-
status:
|
58
|
-
code: 200
|
59
|
-
message: OK
|
60
|
-
headers:
|
61
|
-
Server:
|
62
|
-
- nginx
|
63
|
-
Date:
|
64
|
-
- Mon, 20 Jun 2016 11:44:04 GMT
|
65
|
-
Content-Type:
|
66
|
-
- application/json;charset=utf-8
|
67
|
-
Content-Length:
|
68
|
-
- '418'
|
69
|
-
Connection:
|
70
|
-
- keep-alive
|
71
|
-
Strict-Transport-Security:
|
72
|
-
- max-age=3600; includeSubdomains; preload
|
73
|
-
X-Frame-Options:
|
74
|
-
- DENY
|
75
|
-
X-Content-Type-Options:
|
76
|
-
- nosniff
|
77
|
-
body:
|
78
|
-
encoding: UTF-8
|
79
|
-
string: |-
|
80
|
-
{
|
81
|
-
"full_url": "https://ol2010.capture.litmuscdn.com/92d9cb6d-6ea0-4b46-813c-3025214f80fd/results/ol2010-vertical-blocked-1366.png",
|
82
|
-
"thumb_url": "https://ol2010.capture.litmuscdn.com/92d9cb6d-6ea0-4b46-813c-3025214f80fd/results/ol2010-vertical-blocked-1366-thumb.png",
|
83
|
-
"thumb450_url": "https://ol2010.capture.litmuscdn.com/92d9cb6d-6ea0-4b46-813c-3025214f80fd/results/ol2010-vertical-blocked-1366-thumb450.png"
|
84
|
-
}
|
85
|
-
http_version:
|
86
|
-
recorded_at: Mon, 20 Jun 2016 11:44:05 GMT
|
87
|
-
- request:
|
88
|
-
method: post
|
89
|
-
uri: https://<API_KEY>:@instant-api.litmus.com/v1/emails
|
90
|
-
body:
|
91
|
-
encoding: UTF-8
|
92
|
-
string: '{"plain_text":"Hej världen! Kärlek, den svenska kocken."}'
|
93
|
-
headers:
|
94
|
-
Content-Type:
|
95
|
-
- application/json
|
96
|
-
Accept:
|
97
|
-
- application/json
|
98
|
-
response:
|
99
|
-
status:
|
100
|
-
code: 200
|
101
|
-
message: OK
|
102
|
-
headers:
|
103
|
-
Server:
|
104
|
-
- nginx
|
105
|
-
Date:
|
106
|
-
- Fri, 21 Jul 2017 12:59:25 GMT
|
107
|
-
Content-Type:
|
108
|
-
- application/json;charset=utf-8
|
109
|
-
Content-Length:
|
110
|
-
- '58'
|
111
|
-
Connection:
|
112
|
-
- keep-alive
|
113
33
|
Vary:
|
114
34
|
- Origin
|
115
35
|
Strict-Transport-Security:
|
@@ -122,13 +42,12 @@ http_interactions:
|
|
122
42
|
encoding: UTF-8
|
123
43
|
string: |-
|
124
44
|
{
|
125
|
-
"email_guid": "
|
45
|
+
"email_guid": "5b893fa9-a8d3-41be-842c-cfd1967d3e40"
|
126
46
|
}
|
127
|
-
|
128
|
-
recorded_at: Fri, 21 Jul 2017 13:01:57 GMT
|
47
|
+
recorded_at: Wed, 10 Nov 2021 14:36:47 GMT
|
129
48
|
- request:
|
130
49
|
method: get
|
131
|
-
uri: https://instant-api.litmus.com/v1/emails/
|
50
|
+
uri: https://instant-api.litmus.com/v1/emails/5b893fa9-a8d3-41be-842c-cfd1967d3e40/previews/OL2010?images=blocked&orientation=vertical
|
132
51
|
body:
|
133
52
|
encoding: US-ASCII
|
134
53
|
string: ''
|
@@ -137,6 +56,10 @@ http_interactions:
|
|
137
56
|
- application/json
|
138
57
|
Accept:
|
139
58
|
- application/json
|
59
|
+
Accept-Encoding:
|
60
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
61
|
+
User-Agent:
|
62
|
+
- Ruby
|
140
63
|
response:
|
141
64
|
status:
|
142
65
|
code: 200
|
@@ -145,13 +68,11 @@ http_interactions:
|
|
145
68
|
Server:
|
146
69
|
- nginx
|
147
70
|
Date:
|
148
|
-
-
|
71
|
+
- Wed, 10 Nov 2021 14:36:57 GMT
|
149
72
|
Content-Type:
|
150
73
|
- application/json;charset=utf-8
|
151
74
|
Content-Length:
|
152
75
|
- '418'
|
153
|
-
Connection:
|
154
|
-
- keep-alive
|
155
76
|
Vary:
|
156
77
|
- Origin
|
157
78
|
Strict-Transport-Security:
|
@@ -164,10 +85,9 @@ http_interactions:
|
|
164
85
|
encoding: UTF-8
|
165
86
|
string: |-
|
166
87
|
{
|
167
|
-
"full_url": "https://ol2010.capture.litmuscdn.com/
|
168
|
-
"thumb_url": "https://ol2010.capture.litmuscdn.com/
|
169
|
-
"thumb450_url": "https://ol2010.capture.litmuscdn.com/
|
88
|
+
"full_url": "https://ol2010.capture.litmuscdn.com/5b893fa9-a8d3-41be-842c-cfd1967d3e40/results/ol2010-vertical-blocked-1366.png",
|
89
|
+
"thumb_url": "https://ol2010.capture.litmuscdn.com/5b893fa9-a8d3-41be-842c-cfd1967d3e40/results/ol2010-vertical-blocked-1366-thumb.png",
|
90
|
+
"thumb450_url": "https://ol2010.capture.litmuscdn.com/5b893fa9-a8d3-41be-842c-cfd1967d3e40/results/ol2010-vertical-blocked-1366-thumb450.png"
|
170
91
|
}
|
171
|
-
|
172
|
-
|
173
|
-
recorded_with: VCR 2.9.3
|
92
|
+
recorded_at: Wed, 10 Nov 2021 14:36:57 GMT
|
93
|
+
recorded_with: VCR 6.0.0
|
@@ -11,6 +11,10 @@ http_interactions:
|
|
11
11
|
- application/json
|
12
12
|
Accept:
|
13
13
|
- application/json
|
14
|
+
Accept-Encoding:
|
15
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
16
|
+
User-Agent:
|
17
|
+
- Ruby
|
14
18
|
response:
|
15
19
|
status:
|
16
20
|
code: 400
|
@@ -19,13 +23,13 @@ http_interactions:
|
|
19
23
|
Server:
|
20
24
|
- nginx
|
21
25
|
Date:
|
22
|
-
-
|
26
|
+
- Wed, 10 Nov 2021 14:37:00 GMT
|
23
27
|
Content-Type:
|
24
28
|
- application/json;charset=utf-8
|
25
29
|
Content-Length:
|
26
30
|
- '115'
|
27
|
-
|
28
|
-
-
|
31
|
+
Vary:
|
32
|
+
- Origin
|
29
33
|
body:
|
30
34
|
encoding: UTF-8
|
31
35
|
string: |-
|
@@ -34,6 +38,5 @@ http_interactions:
|
|
34
38
|
"title": "Bad Request",
|
35
39
|
"description": "'email_guid' must match format of a standard GUID"
|
36
40
|
}
|
37
|
-
|
38
|
-
|
39
|
-
recorded_with: VCR 2.9.3
|
41
|
+
recorded_at: Wed, 10 Nov 2021 14:37:00 GMT
|
42
|
+
recorded_with: VCR 6.0.0
|