mailslurp_client 11.5.1 → 11.5.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -8
- data/lib/mailslurp_client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1624668fa99ee61c43b6efaf39a04a9c85bd38a97ff053de95b9d77dcfc328f2
|
4
|
+
data.tar.gz: b842ee7aa3b24ced21a62a2d8fe2275adbc9bedb680737256b14ace20e3a8186
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b892bc4515546d000c093d6ce7cf4af3458c0736e81cd8e9a4703b060682acc5fa5fa3b17224ba44e3ea75aec7adec756c5ac1464db143c0522bdeeedbc8c9f3
|
7
|
+
data.tar.gz: 79136da825490b15647af06dcd9d090f56362d3cfbeb1b782305d315785676d6fca618c7f74e71099383a4749e56cb1f6d90f4c485144d57185b0e7ff4b88f0e
|
data/README.md
CHANGED
@@ -12,16 +12,12 @@ MailSlurp is an email API service that lets you create real email addresses in c
|
|
12
12
|
|
13
13
|
## Get started
|
14
14
|
|
15
|
-
::: tip
|
16
|
-
|
17
15
|
This section describes how to get up and running with the Ruby client.
|
18
16
|
|
19
17
|
See the [examples page](https://www.mailslurp.com/examples/) for more examples and use with common frameworks such as Rails and RSpec.
|
20
18
|
|
21
19
|
See the method documentation for a [list of all functions](./docs)
|
22
20
|
|
23
|
-
:::
|
24
|
-
|
25
21
|
### Create API Key
|
26
22
|
|
27
23
|
First you'll need an API Key. [Create a free account](https://app.mailslurp.com) and copy the key from your dashboard.
|
@@ -199,13 +195,10 @@ expect(email.body).to include("Your email body")
|
|
199
195
|
|
200
196
|
You can send attachments by first uploading files with the `AttachmentControllerApi` then using the returned attachment IDs in the send email method.
|
201
197
|
|
202
|
-
::: tip
|
203
|
-
|
204
198
|
MailSlurp endpoints use base64 string encoding for upload and download files. To encode or decode strings in Ruby make sure you use the **strict** variables that avoid added newlines.
|
205
199
|
|
206
|
-
:::
|
207
|
-
|
208
200
|
#### Upload and send
|
201
|
+
|
209
202
|
```ruby
|
210
203
|
# upload a file to mailslurp to use as attachment
|
211
204
|
# @return [Array<String>]
|