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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 3155333b7ac4f73015ebea417d56c149b51a68e67228d8a52f7b436993dffbe5
|
4
|
+
data.tar.gz: 1f76602c4607d9793d0cc99d245feebc586ae2979455e7e94c815e21f2f046e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8aa72d381c6d7510a70231c78a28fd33c74252ac743151e2f105eae8b9840c10dea52f4e254e0d18785f82b510d2c6efe612c7dd19fc9df510b402fd30b65da7
|
7
|
+
data.tar.gz: c75124fc3e88ce1fbdfa3f35df776ff85f43b011dc248956a81ec6fd54be305c930cc4de9d4f6b5b34de62c4a991ac7c14a1ce184d0e5294c4d7d6e462b2a675
|
@@ -0,0 +1,29 @@
|
|
1
|
+
name: CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
specs:
|
11
|
+
|
12
|
+
runs-on: ubuntu-latest
|
13
|
+
|
14
|
+
strategy:
|
15
|
+
matrix:
|
16
|
+
ruby-version: ['3.0', '2.7', '2.6', '2.5']
|
17
|
+
|
18
|
+
env:
|
19
|
+
API_KEY: ${{ secrets.API_KEY }}
|
20
|
+
|
21
|
+
steps:
|
22
|
+
- uses: actions/checkout@v2
|
23
|
+
- name: Set up Ruby ${{ matrix.ruby-version }}
|
24
|
+
uses: ruby/setup-ruby@v1
|
25
|
+
with:
|
26
|
+
ruby-version: ${{ matrix.ruby-version }}
|
27
|
+
bundler-cache: true # this includes bundle install
|
28
|
+
- name: Run tests
|
29
|
+
run: bundle exec rake
|
data/.gitignore
CHANGED
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.4
|
1
|
+
2.7.4
|
data/Gemfile.lock
ADDED
@@ -0,0 +1,94 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
litmus-instant (0.3.1)
|
5
|
+
httparty (>= 0.13.5, < 1.0.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
addressable (2.8.0)
|
11
|
+
public_suffix (>= 2.0.2, < 5.0)
|
12
|
+
coderay (1.1.3)
|
13
|
+
crack (0.4.5)
|
14
|
+
rexml
|
15
|
+
diff-lcs (1.4.4)
|
16
|
+
ffi (1.15.4)
|
17
|
+
formatador (0.3.0)
|
18
|
+
guard (2.18.0)
|
19
|
+
formatador (>= 0.2.4)
|
20
|
+
listen (>= 2.7, < 4.0)
|
21
|
+
lumberjack (>= 1.0.12, < 2.0)
|
22
|
+
nenv (~> 0.1)
|
23
|
+
notiffany (~> 0.0)
|
24
|
+
pry (>= 0.13.0)
|
25
|
+
shellany (~> 0.0)
|
26
|
+
thor (>= 0.18.1)
|
27
|
+
guard-compat (1.2.1)
|
28
|
+
guard-rspec (4.7.3)
|
29
|
+
guard (~> 2.1)
|
30
|
+
guard-compat (~> 1.1)
|
31
|
+
rspec (>= 2.99.0, < 4.0)
|
32
|
+
hashdiff (1.0.1)
|
33
|
+
httparty (0.20.0)
|
34
|
+
mime-types (~> 3.0)
|
35
|
+
multi_xml (>= 0.5.2)
|
36
|
+
listen (3.7.0)
|
37
|
+
rb-fsevent (~> 0.10, >= 0.10.3)
|
38
|
+
rb-inotify (~> 0.9, >= 0.9.10)
|
39
|
+
lumberjack (1.2.8)
|
40
|
+
method_source (1.0.0)
|
41
|
+
mime-types (3.3.1)
|
42
|
+
mime-types-data (~> 3.2015)
|
43
|
+
mime-types-data (3.2021.0901)
|
44
|
+
multi_xml (0.6.0)
|
45
|
+
nenv (0.3.0)
|
46
|
+
notiffany (0.1.3)
|
47
|
+
nenv (~> 0.1)
|
48
|
+
shellany (~> 0.0)
|
49
|
+
pry (0.14.1)
|
50
|
+
coderay (~> 1.1)
|
51
|
+
method_source (~> 1.0)
|
52
|
+
public_suffix (4.0.6)
|
53
|
+
rack (2.2.3)
|
54
|
+
rake (13.0.6)
|
55
|
+
rb-fsevent (0.11.0)
|
56
|
+
rb-inotify (0.10.1)
|
57
|
+
ffi (~> 1.0)
|
58
|
+
rexml (3.2.5)
|
59
|
+
rspec (3.10.0)
|
60
|
+
rspec-core (~> 3.10.0)
|
61
|
+
rspec-expectations (~> 3.10.0)
|
62
|
+
rspec-mocks (~> 3.10.0)
|
63
|
+
rspec-core (3.10.1)
|
64
|
+
rspec-support (~> 3.10.0)
|
65
|
+
rspec-expectations (3.10.1)
|
66
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
67
|
+
rspec-support (~> 3.10.0)
|
68
|
+
rspec-mocks (3.10.2)
|
69
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
70
|
+
rspec-support (~> 3.10.0)
|
71
|
+
rspec-support (3.10.3)
|
72
|
+
shellany (0.0.1)
|
73
|
+
thor (1.1.0)
|
74
|
+
vcr (6.0.0)
|
75
|
+
webmock (3.14.0)
|
76
|
+
addressable (>= 2.8.0)
|
77
|
+
crack (>= 0.3.2)
|
78
|
+
hashdiff (>= 0.4.0, < 2.0.0)
|
79
|
+
|
80
|
+
PLATFORMS
|
81
|
+
ruby
|
82
|
+
|
83
|
+
DEPENDENCIES
|
84
|
+
bundler
|
85
|
+
guard-rspec
|
86
|
+
litmus-instant!
|
87
|
+
rack
|
88
|
+
rake
|
89
|
+
rspec
|
90
|
+
vcr
|
91
|
+
webmock
|
92
|
+
|
93
|
+
BUNDLED WITH
|
94
|
+
2.1.4
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -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: 200
|
@@ -19,13 +23,13 @@ http_interactions:
|
|
19
23
|
Server:
|
20
24
|
- nginx
|
21
25
|
Date:
|
22
|
-
-
|
26
|
+
- Wed, 10 Nov 2021 14:37:03 GMT
|
23
27
|
Content-Type:
|
24
28
|
- application/json;charset=utf-8
|
25
29
|
Content-Length:
|
26
|
-
- '
|
27
|
-
|
28
|
-
-
|
30
|
+
- '1880'
|
31
|
+
Vary:
|
32
|
+
- Origin
|
29
33
|
Strict-Transport-Security:
|
30
34
|
- max-age=3600; includeSubdomains; preload
|
31
35
|
X-Frame-Options:
|
@@ -36,64 +40,118 @@ http_interactions:
|
|
36
40
|
encoding: UTF-8
|
37
41
|
string: |-
|
38
42
|
[
|
39
|
-
"
|
43
|
+
"ANDROID10GMAILAPP",
|
44
|
+
"ANDROID10GMAILAPPDARK",
|
45
|
+
"ANDROID6",
|
46
|
+
"ANDROID71GMAILAPP",
|
47
|
+
"ANDROID8GMAILAPP",
|
48
|
+
"ANDROID9GMAILAPP",
|
40
49
|
"ANDROIDGMAILAPP",
|
50
|
+
"ANDROIDGMAILIMAP",
|
51
|
+
"ANDROIDOUTLOOK",
|
52
|
+
"ANDROIDSAMSUNG6",
|
53
|
+
"ANDROIDSAMSUNG7",
|
41
54
|
"AOLONLINE",
|
42
|
-
"
|
43
|
-
"
|
55
|
+
"APPMAIL13",
|
56
|
+
"APPMAIL13DARK",
|
57
|
+
"APPMAIL14",
|
58
|
+
"APPMAIL14DARK",
|
59
|
+
"APPMAIL15",
|
60
|
+
"APPMAIL15DARK",
|
44
61
|
"CHROMEAOLONLINE",
|
62
|
+
"CHROMECOMCAST",
|
63
|
+
"CHROMEFREENETDE",
|
45
64
|
"CHROMEGMAILNEW",
|
46
65
|
"CHROMEGMXDE",
|
47
66
|
"CHROMEGOOGLEAPPS",
|
48
|
-
"
|
67
|
+
"CHROMEMAILRU",
|
49
68
|
"CHROMEOFFICE365",
|
50
69
|
"CHROMEOUTLOOKCOM",
|
70
|
+
"CHROMEOUTLOOKCOMDARK",
|
71
|
+
"CHROMETONLINEDE",
|
51
72
|
"CHROMEWEBDE",
|
52
73
|
"CHROMEYAHOO",
|
53
74
|
"COLORBLIND",
|
75
|
+
"COMCAST",
|
54
76
|
"FFAOLONLINE",
|
77
|
+
"FFCOMCAST",
|
78
|
+
"FFFREENETDE",
|
55
79
|
"FFGMAILNEW",
|
56
80
|
"FFGMXDE",
|
57
81
|
"FFGOOGLEAPPS",
|
58
|
-
"
|
82
|
+
"FFMAILRU",
|
59
83
|
"FFOFFICE365",
|
60
84
|
"FFOUTLOOKCOM",
|
85
|
+
"FFOUTLOOKCOMDARK",
|
86
|
+
"FFTONLINEDE",
|
61
87
|
"FFWEBDE",
|
62
88
|
"FFYAHOO",
|
89
|
+
"FREENETDE",
|
90
|
+
"GMAILIOS",
|
91
|
+
"GMAILIOSDARK",
|
63
92
|
"GMAILNEW",
|
64
93
|
"GMXDE",
|
65
94
|
"GOOGLEAPPS",
|
66
95
|
"IPAD",
|
67
|
-
"
|
68
|
-
"
|
69
|
-
"
|
70
|
-
"
|
71
|
-
"
|
72
|
-
"
|
73
|
-
"
|
74
|
-
"
|
75
|
-
"
|
96
|
+
"IPADAIRGEN4",
|
97
|
+
"IPADGEN7",
|
98
|
+
"IPADGEN7DARK",
|
99
|
+
"IPADMINI6",
|
100
|
+
"IPADMINI6DARK",
|
101
|
+
"IPADPRO10P5IN",
|
102
|
+
"IPADPRO11IN",
|
103
|
+
"IPADPRO13IN",
|
104
|
+
"IPHONE11",
|
105
|
+
"IPHONE11IOS14",
|
106
|
+
"IPHONE11IOS14DARK",
|
107
|
+
"IPHONE11PRO",
|
108
|
+
"IPHONE11PRODARK",
|
109
|
+
"IPHONE11PROMAX",
|
110
|
+
"IPHONE12",
|
111
|
+
"IPHONE12DARK",
|
112
|
+
"IPHONE12MINI",
|
113
|
+
"IPHONE12MINIDARK",
|
114
|
+
"IPHONE12PROMAX",
|
115
|
+
"IPHONE12PROMAXDARK",
|
116
|
+
"IPHONE13",
|
117
|
+
"IPHONE13DARK",
|
118
|
+
"IPHONE13PROMAX",
|
119
|
+
"IPHONE13PROMAXDARK",
|
120
|
+
"IPHONE8",
|
121
|
+
"IPHONE8PLUS",
|
122
|
+
"IPHONESE",
|
123
|
+
"IPHONESE2020",
|
124
|
+
"IPHONEXR",
|
125
|
+
"IPHONEXS",
|
126
|
+
"IPHONEXSMAX",
|
127
|
+
"MAILRU",
|
128
|
+
"NOTES10",
|
76
129
|
"NOTES85",
|
77
130
|
"NOTES9",
|
78
131
|
"OFFICE365",
|
79
|
-
"OL2000",
|
80
|
-
"OL2002",
|
81
|
-
"OL2003",
|
82
132
|
"OL2007",
|
83
133
|
"OL2010",
|
84
|
-
"OL2011",
|
85
134
|
"OL2013",
|
86
135
|
"OL2013DPI120",
|
87
136
|
"OL2015",
|
88
137
|
"OL2016",
|
138
|
+
"OL2016DPI120",
|
139
|
+
"OL2019",
|
140
|
+
"OL2019DPI120",
|
141
|
+
"OL2019MAC",
|
142
|
+
"OL2019MACDARK",
|
143
|
+
"OL365",
|
144
|
+
"OL365DARK",
|
89
145
|
"OUTLOOKCOM",
|
146
|
+
"OUTLOOKIOS",
|
90
147
|
"PLAINTEXT",
|
91
148
|
"THUNDERBIRDLATEST",
|
149
|
+
"TONLINEDE",
|
92
150
|
"WEBDE",
|
151
|
+
"WINDOWS10MAIL",
|
93
152
|
"YAHOO"
|
94
153
|
]
|
95
|
-
|
96
|
-
recorded_at: Mon, 20 Jun 2016 18:34:58 GMT
|
154
|
+
recorded_at: Wed, 10 Nov 2021 14:37:03 GMT
|
97
155
|
- request:
|
98
156
|
method: get
|
99
157
|
uri: https://instant-api.litmus.com/v1/clients
|
@@ -105,6 +163,10 @@ http_interactions:
|
|
105
163
|
- application/json
|
106
164
|
Accept:
|
107
165
|
- application/json
|
166
|
+
Accept-Encoding:
|
167
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
168
|
+
User-Agent:
|
169
|
+
- Ruby
|
108
170
|
response:
|
109
171
|
status:
|
110
172
|
code: 200
|
@@ -113,13 +175,13 @@ http_interactions:
|
|
113
175
|
Server:
|
114
176
|
- nginx
|
115
177
|
Date:
|
116
|
-
-
|
178
|
+
- Wed, 10 Nov 2021 14:37:03 GMT
|
117
179
|
Content-Type:
|
118
180
|
- application/json;charset=utf-8
|
119
181
|
Content-Length:
|
120
|
-
- '
|
121
|
-
|
122
|
-
-
|
182
|
+
- '1880'
|
183
|
+
Vary:
|
184
|
+
- Origin
|
123
185
|
Strict-Transport-Security:
|
124
186
|
- max-age=3600; includeSubdomains; preload
|
125
187
|
X-Frame-Options:
|
@@ -130,62 +192,116 @@ http_interactions:
|
|
130
192
|
encoding: UTF-8
|
131
193
|
string: |-
|
132
194
|
[
|
133
|
-
"
|
195
|
+
"ANDROID10GMAILAPP",
|
196
|
+
"ANDROID10GMAILAPPDARK",
|
197
|
+
"ANDROID6",
|
198
|
+
"ANDROID71GMAILAPP",
|
199
|
+
"ANDROID8GMAILAPP",
|
200
|
+
"ANDROID9GMAILAPP",
|
134
201
|
"ANDROIDGMAILAPP",
|
202
|
+
"ANDROIDGMAILIMAP",
|
203
|
+
"ANDROIDOUTLOOK",
|
204
|
+
"ANDROIDSAMSUNG6",
|
205
|
+
"ANDROIDSAMSUNG7",
|
135
206
|
"AOLONLINE",
|
136
|
-
"
|
137
|
-
"
|
207
|
+
"APPMAIL13",
|
208
|
+
"APPMAIL13DARK",
|
209
|
+
"APPMAIL14",
|
210
|
+
"APPMAIL14DARK",
|
211
|
+
"APPMAIL15",
|
212
|
+
"APPMAIL15DARK",
|
138
213
|
"CHROMEAOLONLINE",
|
214
|
+
"CHROMECOMCAST",
|
215
|
+
"CHROMEFREENETDE",
|
139
216
|
"CHROMEGMAILNEW",
|
140
217
|
"CHROMEGMXDE",
|
141
218
|
"CHROMEGOOGLEAPPS",
|
142
|
-
"
|
219
|
+
"CHROMEMAILRU",
|
143
220
|
"CHROMEOFFICE365",
|
144
221
|
"CHROMEOUTLOOKCOM",
|
222
|
+
"CHROMEOUTLOOKCOMDARK",
|
223
|
+
"CHROMETONLINEDE",
|
145
224
|
"CHROMEWEBDE",
|
146
225
|
"CHROMEYAHOO",
|
147
226
|
"COLORBLIND",
|
227
|
+
"COMCAST",
|
148
228
|
"FFAOLONLINE",
|
229
|
+
"FFCOMCAST",
|
230
|
+
"FFFREENETDE",
|
149
231
|
"FFGMAILNEW",
|
150
232
|
"FFGMXDE",
|
151
233
|
"FFGOOGLEAPPS",
|
152
|
-
"
|
234
|
+
"FFMAILRU",
|
153
235
|
"FFOFFICE365",
|
154
236
|
"FFOUTLOOKCOM",
|
237
|
+
"FFOUTLOOKCOMDARK",
|
238
|
+
"FFTONLINEDE",
|
155
239
|
"FFWEBDE",
|
156
240
|
"FFYAHOO",
|
241
|
+
"FREENETDE",
|
242
|
+
"GMAILIOS",
|
243
|
+
"GMAILIOSDARK",
|
157
244
|
"GMAILNEW",
|
158
245
|
"GMXDE",
|
159
246
|
"GOOGLEAPPS",
|
160
247
|
"IPAD",
|
161
|
-
"
|
162
|
-
"
|
163
|
-
"
|
164
|
-
"
|
165
|
-
"
|
166
|
-
"
|
167
|
-
"
|
168
|
-
"
|
169
|
-
"
|
248
|
+
"IPADAIRGEN4",
|
249
|
+
"IPADGEN7",
|
250
|
+
"IPADGEN7DARK",
|
251
|
+
"IPADMINI6",
|
252
|
+
"IPADMINI6DARK",
|
253
|
+
"IPADPRO10P5IN",
|
254
|
+
"IPADPRO11IN",
|
255
|
+
"IPADPRO13IN",
|
256
|
+
"IPHONE11",
|
257
|
+
"IPHONE11IOS14",
|
258
|
+
"IPHONE11IOS14DARK",
|
259
|
+
"IPHONE11PRO",
|
260
|
+
"IPHONE11PRODARK",
|
261
|
+
"IPHONE11PROMAX",
|
262
|
+
"IPHONE12",
|
263
|
+
"IPHONE12DARK",
|
264
|
+
"IPHONE12MINI",
|
265
|
+
"IPHONE12MINIDARK",
|
266
|
+
"IPHONE12PROMAX",
|
267
|
+
"IPHONE12PROMAXDARK",
|
268
|
+
"IPHONE13",
|
269
|
+
"IPHONE13DARK",
|
270
|
+
"IPHONE13PROMAX",
|
271
|
+
"IPHONE13PROMAXDARK",
|
272
|
+
"IPHONE8",
|
273
|
+
"IPHONE8PLUS",
|
274
|
+
"IPHONESE",
|
275
|
+
"IPHONESE2020",
|
276
|
+
"IPHONEXR",
|
277
|
+
"IPHONEXS",
|
278
|
+
"IPHONEXSMAX",
|
279
|
+
"MAILRU",
|
280
|
+
"NOTES10",
|
170
281
|
"NOTES85",
|
171
282
|
"NOTES9",
|
172
283
|
"OFFICE365",
|
173
|
-
"OL2000",
|
174
|
-
"OL2002",
|
175
|
-
"OL2003",
|
176
284
|
"OL2007",
|
177
285
|
"OL2010",
|
178
|
-
"OL2011",
|
179
286
|
"OL2013",
|
180
287
|
"OL2013DPI120",
|
181
288
|
"OL2015",
|
182
289
|
"OL2016",
|
290
|
+
"OL2016DPI120",
|
291
|
+
"OL2019",
|
292
|
+
"OL2019DPI120",
|
293
|
+
"OL2019MAC",
|
294
|
+
"OL2019MACDARK",
|
295
|
+
"OL365",
|
296
|
+
"OL365DARK",
|
183
297
|
"OUTLOOKCOM",
|
298
|
+
"OUTLOOKIOS",
|
184
299
|
"PLAINTEXT",
|
185
300
|
"THUNDERBIRDLATEST",
|
301
|
+
"TONLINEDE",
|
186
302
|
"WEBDE",
|
303
|
+
"WINDOWS10MAIL",
|
187
304
|
"YAHOO"
|
188
305
|
]
|
189
|
-
|
190
|
-
|
191
|
-
recorded_with: VCR 2.9.3
|
306
|
+
recorded_at: Wed, 10 Nov 2021 14:37:03 GMT
|
307
|
+
recorded_with: VCR 6.0.0
|
@@ -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: 401
|
@@ -21,93 +25,11 @@ http_interactions:
|
|
21
25
|
Server:
|
22
26
|
- nginx
|
23
27
|
Date:
|
24
|
-
-
|
28
|
+
- Wed, 10 Nov 2021 14:37:04 GMT
|
25
29
|
Content-Type:
|
26
30
|
- application/json;charset=utf-8
|
27
31
|
Content-Length:
|
28
32
|
- '328'
|
29
|
-
Connection:
|
30
|
-
- keep-alive
|
31
|
-
Www-Authenticate:
|
32
|
-
- Basic realm="Litmus Instant API"
|
33
|
-
body:
|
34
|
-
encoding: UTF-8
|
35
|
-
string: |-
|
36
|
-
{
|
37
|
-
"status": 401,
|
38
|
-
"title": "Unauthorized",
|
39
|
-
"description": "API Authentication credentials were missing or incorrect. Make sure the credentials you're making the request with match those you were provided. If you're stuck, please email resellers@litmus.com and we'll have a Support Engineer reach out as soon as possible."
|
40
|
-
}
|
41
|
-
http_version:
|
42
|
-
recorded_at: Mon, 20 Jun 2016 18:34:59 GMT
|
43
|
-
- request:
|
44
|
-
method: post
|
45
|
-
uri: https://instant-api.litmus.com/v1/emails
|
46
|
-
body:
|
47
|
-
encoding: UTF-8
|
48
|
-
string: '{"plain_text":"boo"}'
|
49
|
-
headers:
|
50
|
-
Content-Type:
|
51
|
-
- application/json
|
52
|
-
Accept:
|
53
|
-
- application/json
|
54
|
-
Authorization:
|
55
|
-
- Basic Y3hkNHR1c3F3b2tnZ2dseGl6ZDl2cDd6bXV4dmo2eG95a2UxOg==
|
56
|
-
response:
|
57
|
-
status:
|
58
|
-
code: 200
|
59
|
-
message: OK
|
60
|
-
headers:
|
61
|
-
Server:
|
62
|
-
- nginx
|
63
|
-
Date:
|
64
|
-
- Mon, 20 Jun 2016 18:34:57 GMT
|
65
|
-
Content-Type:
|
66
|
-
- application/json;charset=utf-8
|
67
|
-
Content-Length:
|
68
|
-
- '58'
|
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
|
-
"email_guid": "98f7d82b-982d-44f2-8818-45a2284cb974"
|
82
|
-
}
|
83
|
-
http_version:
|
84
|
-
recorded_at: Mon, 20 Jun 2016 18:35:00 GMT
|
85
|
-
- request:
|
86
|
-
method: post
|
87
|
-
uri: https://invalid_key:@instant-api.litmus.com/v1/emails
|
88
|
-
body:
|
89
|
-
encoding: UTF-8
|
90
|
-
string: '{"plain_text":"boo"}'
|
91
|
-
headers:
|
92
|
-
Content-Type:
|
93
|
-
- application/json
|
94
|
-
Accept:
|
95
|
-
- application/json
|
96
|
-
response:
|
97
|
-
status:
|
98
|
-
code: 401
|
99
|
-
message: Unauthorized
|
100
|
-
headers:
|
101
|
-
Server:
|
102
|
-
- nginx
|
103
|
-
Date:
|
104
|
-
- Fri, 21 Jul 2017 12:59:35 GMT
|
105
|
-
Content-Type:
|
106
|
-
- application/json;charset=utf-8
|
107
|
-
Content-Length:
|
108
|
-
- '328'
|
109
|
-
Connection:
|
110
|
-
- keep-alive
|
111
33
|
Www-Authenticate:
|
112
34
|
- Basic realm="Litmus Instant API"
|
113
35
|
Vary:
|
@@ -120,11 +42,10 @@ http_interactions:
|
|
120
42
|
"title": "Unauthorized",
|
121
43
|
"description": "API Authentication credentials were missing or incorrect. Make sure the credentials you're making the request with match those you were provided. If you're stuck, please email resellers@litmus.com and we'll have a Support Engineer reach out as soon as possible."
|
122
44
|
}
|
123
|
-
|
124
|
-
recorded_at: Fri, 21 Jul 2017 13:02:08 GMT
|
45
|
+
recorded_at: Wed, 10 Nov 2021 14:37:04 GMT
|
125
46
|
- request:
|
126
47
|
method: post
|
127
|
-
uri: https
|
48
|
+
uri: https://instant-api.litmus.com/v1/emails
|
128
49
|
body:
|
129
50
|
encoding: UTF-8
|
130
51
|
string: '{"plain_text":"boo"}'
|
@@ -133,6 +54,12 @@ http_interactions:
|
|
133
54
|
- application/json
|
134
55
|
Accept:
|
135
56
|
- application/json
|
57
|
+
Accept-Encoding:
|
58
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
59
|
+
User-Agent:
|
60
|
+
- Ruby
|
61
|
+
Authorization:
|
62
|
+
- Basic <ENCODED_API_KEY>
|
136
63
|
response:
|
137
64
|
status:
|
138
65
|
code: 200
|
@@ -141,13 +68,11 @@ http_interactions:
|
|
141
68
|
Server:
|
142
69
|
- nginx
|
143
70
|
Date:
|
144
|
-
-
|
71
|
+
- Wed, 10 Nov 2021 14:37:06 GMT
|
145
72
|
Content-Type:
|
146
73
|
- application/json;charset=utf-8
|
147
74
|
Content-Length:
|
148
75
|
- '58'
|
149
|
-
Connection:
|
150
|
-
- keep-alive
|
151
76
|
Vary:
|
152
77
|
- Origin
|
153
78
|
Strict-Transport-Security:
|
@@ -160,8 +85,7 @@ http_interactions:
|
|
160
85
|
encoding: UTF-8
|
161
86
|
string: |-
|
162
87
|
{
|
163
|
-
"email_guid": "
|
88
|
+
"email_guid": "b1c67565-2fa4-445c-94b7-45fe91e2ef58"
|
164
89
|
}
|
165
|
-
|
166
|
-
|
167
|
-
recorded_with: VCR 2.9.3
|
90
|
+
recorded_at: Wed, 10 Nov 2021 14:37:06 GMT
|
91
|
+
recorded_with: VCR 6.0.0
|