mailslurp_client 11.9.1 → 11.9.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a7170ea201d4a298ba5b6b0849e258ae06e38805e56882f7b478debd341745d
4
- data.tar.gz: 5fe4ccf57eaf5e65a1291b3c0714c094e512c6d1599f6190ad4dae787b86c845
3
+ metadata.gz: 02a8ff40a73da5d30250d02a5bfed53138036c65229f98b7b08aff3cee2a1333
4
+ data.tar.gz: f60df01fa25d8c5f882640ec7897382ecd109df7c4ef58e980c12472ff97c9d8
5
5
  SHA512:
6
- metadata.gz: d8e43add6138188ae58691f6c8607e2c2a91efd2308579918473d12a912ac6f34d482dd2786daa21b840880774d2fe75cec5f99583742cddc6d84fa2d5fe4442
7
- data.tar.gz: edcc020a32184faf3452069aeb18df5be485d7ff366a007ccc85b511e0cf9dea5510d9e2da72edbecc7afc1293e5bfd45b9751ef3732396957870d51660ccfb2
6
+ metadata.gz: 6944996acaa881427c510bf699fcf4451bb1e4632761b3c0b62247f6856c488e8b72ad7c78f666df92f4bbe8c54c73953c811db35defb30b8c955cf79da374dc
7
+ data.tar.gz: c157b393de6c93f30fcfd7ebbdb8d3a92c0a44c0a5bffe44f3665ad80709d6569b43fc76131f71f8c8ed18ebe81aa83f9d33dd9bde1706ed2eeb0970bee2b3cf
data/README.md CHANGED
@@ -10,6 +10,14 @@ MailSlurp is an email API service that lets you create real email addresses in c
10
10
  - [Gem Package](https://rubygems.org/gems/mailslurp_client)
11
11
  - [Github Source](https://github.com/mailslurp/mailslurp-client-ruby)
12
12
 
13
+ ### Common controllers
14
+ - [Email controller](https://www.mailslurp.com/docs/ruby/docs/EmailControllerApi/) send and receive emails
15
+ - [Inbox controller](https://www.mailslurp.com/docs/ruby/docs/InboxControllerApi/) create and manage email addresses
16
+ - [WaitFor controller](https://www.mailslurp.com/docs/ruby/docs/WaitForControllerApi/) wait for expected emails to arrive
17
+
18
+
19
+ ### Example tutorials
20
+
13
21
  ## Get started
14
22
 
15
23
  This section describes how to get up and running with the Ruby client.
@@ -70,7 +78,7 @@ Here are some common uses:
70
78
 
71
79
  ### Create inboxes
72
80
 
73
- To use MailSlurp you need to create inboxes. These are email accounts that have an ID and a real email address.
81
+ To use MailSlurp you need to create inboxes. These are email accounts that have an ID and a real email address. See methods on the [inbox controller](https://www.mailslurp.com/docs/ruby/docs/InboxControllerApi/) for more information.
74
82
 
75
83
  ```ruby
76
84
  inbox_controller = MailSlurpClient::InboxControllerApi.new
@@ -120,7 +128,7 @@ end
120
128
 
121
129
  ### List inboxes
122
130
 
123
- Inboxes you create can be listed in a paginated way.
131
+ Inboxes you create can be listed in a paginated way using the [InboxController](https://www.mailslurp.com/docs/ruby/docs/InboxControllerApi/)).
124
132
 
125
133
  ```ruby
126
134
  it 'can list inboxes' do
@@ -181,7 +189,7 @@ opts = {
181
189
  inbox_controller.send_email(inbox_1.id, opts)
182
190
  ```
183
191
  ### Receive emails
184
-
192
+ To read already existing emails use the [Email Controller](https://www.mailslurp.com/docs/ruby/docs/EmailControllerApi/). To wait for expected emails to arrive use the [WaitFor Controller](https://www.mailslurp.com/docs/ruby/docs/WaitForControllerApi/).
185
193
  You can use MailSlurp to wait for at least 1 unread email in an inbox and return it.
186
194
  If a timeout is exceeded it will throw an error instead:
187
195
 
@@ -214,7 +222,7 @@ code, * = match.captures
214
222
 
215
223
  ### Attachments
216
224
 
217
- You can send attachments by first uploading files with the `AttachmentControllerApi` then using the returned attachment IDs in the send email method.
225
+ You can send attachments by first uploading files with the [AttachmentControllerApi](https://www.mailslurp.com/docs/ruby/docs/AttachmentControllerApi/) then using the returned attachment IDs in the send email method.
218
226
 
219
227
  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.
220
228
 
@@ -470,7 +470,7 @@ module MailSlurpClient
470
470
  return data, status_code, headers
471
471
  end
472
472
 
473
- # Get email content
473
+ # Get email content including headers and body. Expects email to exist by ID. For emails that may not have arrived yet use the WaitForController.
474
474
  # Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawEmail endpoints
475
475
  # @param email_id [String] emailId
476
476
  # @param [Hash] opts the optional parameters
@@ -481,7 +481,7 @@ module MailSlurpClient
481
481
  data
482
482
  end
483
483
 
484
- # Get email content
484
+ # Get email content including headers and body. Expects email to exist by ID. For emails that may not have arrived yet use the WaitForController.
485
485
  # Returns a email summary object with headers and content. To retrieve the raw unparsed email use the getRawEmail endpoints
486
486
  # @param email_id [String] emailId
487
487
  # @param [Hash] opts the optional parameters
@@ -13,7 +13,7 @@ OpenAPI Generator version: 4.3.1
13
13
  require 'date'
14
14
 
15
15
  module MailSlurpClient
16
- # Representation of an inbox with an email address. Emails can be sent to or from this email address.
16
+ # Representation of a MailSlurp inbox. An inbox has an ID and a real email address. Emails can be sent to or from this email address. Use the `EmailController` or the `InboxController` methods to send and receive emails and attachments.
17
17
  class Inbox
18
18
  # When the inbox was created. Time stamps are in ISO DateTime Format `yyyy-MM-dd'T'HH:mm:ss.SSSXXX` e.g. `2000-10-31T01:30:00.000-05:00`.
19
19
  attr_accessor :created_at
@@ -36,13 +36,13 @@ module MailSlurpClient
36
36
  # Name of the inbox. Displayed in the dashboard for easier search
37
37
  attr_accessor :name
38
38
 
39
- # Is the inbox readOnly for the caller. Read only means can not be deleted or modified.
39
+ # Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes.
40
40
  attr_accessor :read_only
41
41
 
42
42
  # Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
43
43
  attr_accessor :tags
44
44
 
45
- # Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it.
45
+ # Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/
46
46
  attr_accessor :team_access
47
47
 
48
48
  # ID of user that inbox belongs to
@@ -29,13 +29,13 @@ module MailSlurpClient
29
29
  # Name of the inbox. Displayed in the dashboard for easier search
30
30
  attr_accessor :name
31
31
 
32
- # Is the inbox readOnly for the caller. Read only means can not be deleted or modified.
32
+ # Is the inbox readOnly for the caller. Read only means can not be deleted or modified. This flag is present when using team accounts and shared inboxes.
33
33
  attr_accessor :read_only
34
34
 
35
35
  # Tags that inbox has been tagged with. Tags can be added to inboxes to group different inboxes within an account. You can also search for inboxes by tag in the dashboard UI.
36
36
  attr_accessor :tags
37
37
 
38
- # Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it.
38
+ # Does inbox permit team access for organization team members. If so team users can use inbox and emails associated with it. See the team access guide at https://www.mailslurp.com/guides/team-email-account-sharing/
39
39
  attr_accessor :team_access
40
40
 
41
41
  # Attribute mapping from ruby-style variable name to JSON key.
@@ -11,5 +11,5 @@ OpenAPI Generator version: 4.3.1
11
11
  =end
12
12
 
13
13
  module MailSlurpClient
14
- VERSION = '11.9.1'
14
+ VERSION = '11.9.7'
15
15
  end
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.9.1
4
+ version: 11.9.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-05-02 00:00:00.000000000 Z
11
+ date: 2021-05-05 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.