mailslurp_client 11.5.2 → 11.5.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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: 8132a869a28713fd640b1e39f87e2ca6785e7b4d5cb86c08f5174919328e7a7b
|
4
|
+
data.tar.gz: 11488d0330a1bd6e06fb558ad6392f6fd8b964bd67965eb9b353f201835d044a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 549fb81bba1f75efc070579555fb38a2a0ec4c5ba82416bad3814e5631146dbd7176b1f535933f70a7d99617b8779f7312f76f480c3c0eb3aa585ab2a28d4f3d
|
7
|
+
data.tar.gz: 0dbbdc203d32acd2ce56ba7ee40267043a2bef9749ac2362bd4a9e6840e475dd71d9578e16e0852d56a5f50c919cd2589e1a73991efd9a700739252cfff142ad
|
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.7
|
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.
|