mailslurp_client 11.5.5 → 11.5.10
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3dd4611ba63105c0e944fe7776c94abef65dcf662d474f0dabd3569f7131f40b
|
4
|
+
data.tar.gz: 6bb63c76f8e3ae0390753a5cdd09797ec4e4659d6b8aeafcff0bbd0b27cdd45a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1fe8816ff49ea7d8e2f7c01ebe98d118718c5cd6179f868bb6e5446d26cba17bfb6de5dbcf3a749f7c422034b80ae20733ecde717c0cf77b0b2c361cf26d6843
|
7
|
+
data.tar.gz: 99c21481fa8b37b1cd0136a27e30a6450d9dd5359af0872a587bbe2c7bdbcee8c21336a305448672730fbbd6110b4abfe1b3b11d97e9080f0f3774c70e09ce5e
|
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>]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mailslurp_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 11.5.
|
4
|
+
version: 11.5.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- mailslurp
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-29 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Create emails addresses in Ruby then send and receive real emails and
|
14
14
|
attachments. See https://www.mailslurp.com/docs/ruby/ for full Ruby documentation.
|