MailchimpTransactional 1.0.6 → 1.0.8

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: 94b7f006ff801831790e455857e889daad7ea3239d32721e200e59b0b05b658d
4
- data.tar.gz: 1977467035f0a8dd0035619f2ce5b8cc3293764eed8359963b58c15da9c9a4fe
3
+ metadata.gz: ea5ba09deeffc4acce96a3b4c1195538f9a5318041f30193991306c95f769ef1
4
+ data.tar.gz: 1ddf40db693a44983e566c585f8779916065aa96303c4ed3aafeff93355af856
5
5
  SHA512:
6
- metadata.gz: 1a232a09ac396bd9ab660f1718d94caa0a34277ba1c0d270524bb132779e24ef580058bb57a182021e96400f0fe8e419ecbbb410d1a5ff5592ee4904d16093e4
7
- data.tar.gz: 100b14706cd3ab9f7843fe7c3b946bd04f34b657ae02ff2d95410c95bd53bfb92738bdb887d9e350b94d3070bb9b3d07a355912a4d74c4c149ab175a4be7e153
6
+ metadata.gz: b0e94fab3ac65187e1609dbf4cd8fb5a0f36395afcf0b33424a235182782ff48f63278eb6a5d5358ede31fdb67562d8a9de4df4b38bfd0455ccc4be732391442
7
+ data.tar.gz: e0c81af8a5167abaebf80b963d50990b278f538a0dcfd6409407a7026d817f1ec24af7fbe5663b2aa1846303e6372a4d815d4a6663539c9560d843b54afbe6d1
@@ -5,7 +5,7 @@
5
5
 
6
6
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
7
7
 
8
- OpenAPI spec version: 1.0.6
8
+ OpenAPI spec version: 1.0.8
9
9
  Contact: apihelp@mandrill.com
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  Swagger Codegen version: 2.4.12
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # Mailchimp Transactional SDK — Ruby
1
+ # Mailchimp Transactional — Ruby
2
2
 
3
- The official Ruby SDK for the Mailchimp Transactional API (v1)
3
+ The official Ruby client library for the Mailchimp Transactional API (v1)
4
4
 
5
5
  ## Installation
6
6
 
@@ -15,21 +15,21 @@ gem build MailchimpTransactional.gemspec
15
15
  Then either install the gem locally:
16
16
 
17
17
  ```shell
18
- gem install ./MailchimpTransactional-1.0.6.gem
18
+ gem install ./MailchimpTransactional-1.0.8.gem
19
19
  ```
20
- (for development, run `gem install --dev ./MailchimpTransactional-1.0.6.gem` to install the development dependencies)
20
+ (for development, run `gem install --dev ./MailchimpTransactional-1.0.8.gem` to install the development dependencies)
21
21
 
22
22
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
23
23
 
24
24
  Finally add this to the Gemfile:
25
25
 
26
- gem 'MailchimpTransactional', '~> 1.0.6'
26
+ gem 'MailchimpTransactional', '~> 1.0.8'
27
27
 
28
28
  ### Install from Git
29
29
 
30
- If the Ruby gem is hosted at a git repository: https://github.com/postlight/mailchimp-transactional-ruby, then add the following in the Gemfile:
30
+ If the Ruby gem is hosted at a git repository: https://github.com/mailchimp/mailchimp-transactional-ruby, then add the following in the Gemfile:
31
31
 
32
- gem 'MailchimpTransactional', :git => 'https://github.com/postlight/mailchimp-transactional-ruby.git'
32
+ gem 'MailchimpTransactional', :git => 'https://github.com/mailchimp/mailchimp-transactional-ruby.git'
33
33
 
34
34
  ### Include the Ruby code directly
35
35
 
@@ -79,7 +79,7 @@ mailchimp.senders.list({ :outputFormat => 'php' });
79
79
 
80
80
  All URIs are relative to *https://mandrillapp.com/api/1.0*
81
81
 
82
- | SDK Method | Endpoint |
82
+ | Method | Endpoint |
83
83
  | ---------- | -------- |
84
84
  | **exports.activity** | /exports/activity |
85
85
  | **exports.info** | /exports/info |
@@ -172,3 +172,22 @@ All URIs are relative to *https://mandrillapp.com/api/1.0*
172
172
  | **whitelists.delete** | /whitelists/delete |
173
173
  | **whitelists.list** | /whitelists/list |
174
174
 
175
+
176
+ ## Additional Client Libraries
177
+
178
+ Mailchimp Transactional libraries are available in the following languages:
179
+
180
+ <div>
181
+ <a href="https://github.com/mailchimp/mailchimp-transactional-node">
182
+ <img src="https://github.com/mailchimp/mailchimp-client-lib-codegen/blob/master/resources/images/lang_node.png?raw=true" width="44" height="44">
183
+ </a>
184
+ <a href="https://github.com/mailchimp/mailchimp-transactional-php">
185
+ <img src="https://github.com/mailchimp/mailchimp-client-lib-codegen/blob/master/resources/images/lang_php.png?raw=true" width="44" height="44">
186
+ </a>
187
+ <a href="https://github.com/mailchimp/mailchimp-transactional-ruby">
188
+ <img src="https://github.com/mailchimp/mailchimp-client-lib-codegen/blob/master/resources/images/lang_ruby.png?raw=true" width="44" height="44">
189
+ </a>
190
+ <a href="https://github.com/mailchimp/mailchimp-transactional-python">
191
+ <img src="https://github.com/mailchimp/mailchimp-client-lib-codegen/blob/master/resources/images/lang_python.png?raw=true" width="44" height="44">
192
+ </a>
193
+ </div>
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.0.6
6
+ OpenAPI spec version: 1.0.8
7
7
  Contact: apihelp@mandrill.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.0.6
6
+ OpenAPI spec version: 1.0.8
7
7
  Contact: apihelp@mandrill.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -22,17 +22,17 @@ module MailchimpTransactional
22
22
  @api_key = api_key
23
23
  @api_client = api_client
24
24
  end
25
- # /exports/activity
25
+ # Export activity history
26
26
  # Begins an export of your activity history. The activity will be exported to a zip archive containing a single file named activity.csv in the same format as you would be able to export from your account's activity view. It includes the following fields: Date, Email Address, Sender, Subject, Status, Tags, Opens, Clicks, Bounce Detail. If you have configured any custom metadata fields, they will be included in the exported data.
27
27
  # @param body
28
28
  # @param [Hash] opts the optional parameters
29
29
  # @return [InlineResponse2004]
30
30
  def activity(body = {}, opts = {})
31
- data, _status_code, _headers = activity_with_http_info(body, opts)
31
+ data = activity_with_http_info(body, opts)
32
32
  data
33
33
  end
34
34
 
35
- # /exports/activity
35
+ # Export activity history
36
36
  # Begins an export of your activity history. The activity will be exported to a zip archive containing a single file named activity.csv in the same format as you would be able to export from your account&#39;s activity view. It includes the following fields: Date, Email Address, Sender, Subject, Status, Tags, Opens, Clicks, Bounce Detail. If you have configured any custom metadata fields, they will be included in the exported data.
37
37
  # @param body
38
38
  # @param [Hash] opts the optional parameters
@@ -45,24 +45,20 @@ module MailchimpTransactional
45
45
  local_var_path = '/exports/activity'
46
46
 
47
47
  # http body (model)
48
- auth_names = []
49
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
50
- :body => body,
51
- :auth_names => auth_names,
52
- :return_type => 'InlineResponse2004')
53
- return data, status_code, headers
48
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
49
+ return data
54
50
  end
55
- # /exports/info
51
+ # View export info
56
52
  # Returns information about an export job. If the export job's state is 'complete', the returned data will include a URL you can use to fetch the results. Every export job produces a zip archive, but the format of the archive is distinct for each job type. The api calls that initiate exports include more details about the output format for that job type.
57
53
  # @param body
58
54
  # @param [Hash] opts the optional parameters
59
55
  # @return [InlineResponse200]
60
56
  def info(body = {}, opts = {})
61
- data, _status_code, _headers = info_with_http_info(body, opts)
57
+ data = info_with_http_info(body, opts)
62
58
  data
63
59
  end
64
60
 
65
- # /exports/info
61
+ # View export info
66
62
  # Returns information about an export job. If the export job&#39;s state is &#39;complete&#39;, the returned data will include a URL you can use to fetch the results. Every export job produces a zip archive, but the format of the archive is distinct for each job type. The api calls that initiate exports include more details about the output format for that job type.
67
63
  # @param body
68
64
  # @param [Hash] opts the optional parameters
@@ -75,24 +71,20 @@ module MailchimpTransactional
75
71
  local_var_path = '/exports/info'
76
72
 
77
73
  # http body (model)
78
- auth_names = []
79
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
80
- :body => body,
81
- :auth_names => auth_names,
82
- :return_type => 'InlineResponse200')
83
- return data, status_code, headers
74
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
75
+ return data
84
76
  end
85
- # /exports/list
77
+ # List exports
86
78
  # Returns a list of your exports.
87
79
  # @param body
88
80
  # @param [Hash] opts the optional parameters
89
81
  # @return [Array<InlineResponse2001>]
90
82
  def list(body = {}, opts = {})
91
- data, _status_code, _headers = list_with_http_info(body, opts)
83
+ data = list_with_http_info(body, opts)
92
84
  data
93
85
  end
94
86
 
95
- # /exports/list
87
+ # List exports
96
88
  # Returns a list of your exports.
97
89
  # @param body
98
90
  # @param [Hash] opts the optional parameters
@@ -105,24 +97,20 @@ module MailchimpTransactional
105
97
  local_var_path = '/exports/list'
106
98
 
107
99
  # http body (model)
108
- auth_names = []
109
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
110
- :body => body,
111
- :auth_names => auth_names,
112
- :return_type => 'Array<InlineResponse2001>')
113
- return data, status_code, headers
100
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
101
+ return data
114
102
  end
115
- # /exports/rejects
103
+ # Export blacklist
116
104
  # Begins an export of your rejection blacklist. The blacklist will be exported to a zip archive containing a single file named rejects.csv that includes the following fields: email, reason, detail, created_at, expires_at, last_event_at, expires_at.
117
105
  # @param body
118
106
  # @param [Hash] opts the optional parameters
119
107
  # @return [InlineResponse2002]
120
108
  def rejects(body = {}, opts = {})
121
- data, _status_code, _headers = rejects_with_http_info(body, opts)
109
+ data = rejects_with_http_info(body, opts)
122
110
  data
123
111
  end
124
112
 
125
- # /exports/rejects
113
+ # Export blacklist
126
114
  # Begins an export of your rejection blacklist. The blacklist will be exported to a zip archive containing a single file named rejects.csv that includes the following fields: email, reason, detail, created_at, expires_at, last_event_at, expires_at.
127
115
  # @param body
128
116
  # @param [Hash] opts the optional parameters
@@ -135,24 +123,20 @@ module MailchimpTransactional
135
123
  local_var_path = '/exports/rejects'
136
124
 
137
125
  # http body (model)
138
- auth_names = []
139
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
140
- :body => body,
141
- :auth_names => auth_names,
142
- :return_type => 'InlineResponse2002')
143
- return data, status_code, headers
126
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
127
+ return data
144
128
  end
145
- # /exports/whitelist
129
+ # Export whitelist
146
130
  # Begins an export of your rejection whitelist. The whitelist will be exported to a zip archive containing a single file named whitelist.csv that includes the following fields: email, detail, created_at.
147
131
  # @param body
148
132
  # @param [Hash] opts the optional parameters
149
133
  # @return [InlineResponse2003]
150
134
  def whitelist(body = {}, opts = {})
151
- data, _status_code, _headers = whitelist_with_http_info(body, opts)
135
+ data = whitelist_with_http_info(body, opts)
152
136
  data
153
137
  end
154
138
 
155
- # /exports/whitelist
139
+ # Export whitelist
156
140
  # Begins an export of your rejection whitelist. The whitelist will be exported to a zip archive containing a single file named whitelist.csv that includes the following fields: email, detail, created_at.
157
141
  # @param body
158
142
  # @param [Hash] opts the optional parameters
@@ -165,12 +149,8 @@ module MailchimpTransactional
165
149
  local_var_path = '/exports/whitelist'
166
150
 
167
151
  # http body (model)
168
- auth_names = []
169
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
170
- :body => body,
171
- :auth_names => auth_names,
172
- :return_type => 'InlineResponse2003')
173
- return data, status_code, headers
152
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
153
+ return data
174
154
  end
175
155
  end
176
156
  end
@@ -3,7 +3,7 @@
3
3
 
4
4
  #No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
5
5
 
6
- OpenAPI spec version: 1.0.6
6
+ OpenAPI spec version: 1.0.8
7
7
  Contact: apihelp@mandrill.com
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.4.12
@@ -22,18 +22,18 @@ module MailchimpTransactional
22
22
  @api_key = api_key
23
23
  @api_client = api_client
24
24
  end
25
- # /inbound/add-domain
26
- # Add a new template
25
+ # Add inbound domain
26
+ # Add an inbound domain to your account.
27
27
  # @param body
28
28
  # @param [Hash] opts the optional parameters
29
29
  # @return [InlineResponse2006]
30
30
  def add_domain(body = {}, opts = {})
31
- data, _status_code, _headers = add_domain_with_http_info(body, opts)
31
+ data = add_domain_with_http_info(body, opts)
32
32
  data
33
33
  end
34
34
 
35
- # /inbound/add-domain
36
- # Add a new template
35
+ # Add inbound domain
36
+ # Add an inbound domain to your account.
37
37
  # @param body
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [Array<(InlineResponse2006, Fixnum, Hash)>] InlineResponse2006 data, response status code and response headers
@@ -45,25 +45,21 @@ module MailchimpTransactional
45
45
  local_var_path = '/inbound/add-domain'
46
46
 
47
47
  # http body (model)
48
- auth_names = []
49
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
50
- :body => body,
51
- :auth_names => auth_names,
52
- :return_type => 'InlineResponse2006')
53
- return data, status_code, headers
48
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
49
+ return data
54
50
  end
55
- # /inbound/add-route
56
- # Add a new mailbox route to an inbound domain
51
+ # Add mailbox route
52
+ # Add a new mailbox route to an inbound domain.
57
53
  # @param body
58
54
  # @param [Hash] opts the optional parameters
59
55
  # @return [InlineResponse20010]
60
56
  def add_route(body = {}, opts = {})
61
- data, _status_code, _headers = add_route_with_http_info(body, opts)
57
+ data = add_route_with_http_info(body, opts)
62
58
  data
63
59
  end
64
60
 
65
- # /inbound/add-route
66
- # Add a new mailbox route to an inbound domain
61
+ # Add mailbox route
62
+ # Add a new mailbox route to an inbound domain.
67
63
  # @param body
68
64
  # @param [Hash] opts the optional parameters
69
65
  # @return [Array<(InlineResponse20010, Fixnum, Hash)>] InlineResponse20010 data, response status code and response headers
@@ -75,25 +71,21 @@ module MailchimpTransactional
75
71
  local_var_path = '/inbound/add-route'
76
72
 
77
73
  # http body (model)
78
- auth_names = []
79
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
80
- :body => body,
81
- :auth_names => auth_names,
82
- :return_type => 'InlineResponse20010')
83
- return data, status_code, headers
74
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
75
+ return data
84
76
  end
85
- # /inbound/check-domain
86
- # Check the MX settings for an inbound domain. The domain must have already been added with the add-domain call
77
+ # Check domain settings
78
+ # Check the MX settings for an inbound domain. The domain must have already been added with the add-domain call.
87
79
  # @param body
88
80
  # @param [Hash] opts the optional parameters
89
81
  # @return [InlineResponse2007]
90
82
  def check_domain(body = {}, opts = {})
91
- data, _status_code, _headers = check_domain_with_http_info(body, opts)
83
+ data = check_domain_with_http_info(body, opts)
92
84
  data
93
85
  end
94
86
 
95
- # /inbound/check-domain
96
- # Check the MX settings for an inbound domain. The domain must have already been added with the add-domain call
87
+ # Check domain settings
88
+ # Check the MX settings for an inbound domain. The domain must have already been added with the add-domain call.
97
89
  # @param body
98
90
  # @param [Hash] opts the optional parameters
99
91
  # @return [Array<(InlineResponse2007, Fixnum, Hash)>] InlineResponse2007 data, response status code and response headers
@@ -105,24 +97,20 @@ module MailchimpTransactional
105
97
  local_var_path = '/inbound/check-domain'
106
98
 
107
99
  # http body (model)
108
- auth_names = []
109
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
110
- :body => body,
111
- :auth_names => auth_names,
112
- :return_type => 'InlineResponse2007')
113
- return data, status_code, headers
100
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
101
+ return data
114
102
  end
115
- # /inbound/delete-domain
103
+ # Delete inbound domain
116
104
  # Delete an inbound domain from the account. All mail will stop routing for this domain immediately.
117
105
  # @param body
118
106
  # @param [Hash] opts the optional parameters
119
107
  # @return [InlineResponse2008]
120
108
  def delete_domain(body = {}, opts = {})
121
- data, _status_code, _headers = delete_domain_with_http_info(body, opts)
109
+ data = delete_domain_with_http_info(body, opts)
122
110
  data
123
111
  end
124
112
 
125
- # /inbound/delete-domain
113
+ # Delete inbound domain
126
114
  # Delete an inbound domain from the account. All mail will stop routing for this domain immediately.
127
115
  # @param body
128
116
  # @param [Hash] opts the optional parameters
@@ -135,25 +123,21 @@ module MailchimpTransactional
135
123
  local_var_path = '/inbound/delete-domain'
136
124
 
137
125
  # http body (model)
138
- auth_names = []
139
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
140
- :body => body,
141
- :auth_names => auth_names,
142
- :return_type => 'InlineResponse2008')
143
- return data, status_code, headers
126
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
127
+ return data
144
128
  end
145
- # /inbound/delete-route
146
- # Delete an existing inbound mailbox route
129
+ # Delete mailbox route
130
+ # Delete an existing inbound mailbox route.
147
131
  # @param body
148
132
  # @param [Hash] opts the optional parameters
149
133
  # @return [InlineResponse20012]
150
134
  def delete_route(body = {}, opts = {})
151
- data, _status_code, _headers = delete_route_with_http_info(body, opts)
135
+ data = delete_route_with_http_info(body, opts)
152
136
  data
153
137
  end
154
138
 
155
- # /inbound/delete-route
156
- # Delete an existing inbound mailbox route
139
+ # Delete mailbox route
140
+ # Delete an existing inbound mailbox route.
157
141
  # @param body
158
142
  # @param [Hash] opts the optional parameters
159
143
  # @return [Array<(InlineResponse20012, Fixnum, Hash)>] InlineResponse20012 data, response status code and response headers
@@ -165,25 +149,21 @@ module MailchimpTransactional
165
149
  local_var_path = '/inbound/delete-route'
166
150
 
167
151
  # http body (model)
168
- auth_names = []
169
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
170
- :body => body,
171
- :auth_names => auth_names,
172
- :return_type => 'InlineResponse20012')
173
- return data, status_code, headers
152
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
153
+ return data
174
154
  end
175
- # /inbound/domains
176
- # Add an inbound domain to your account
155
+ # List inbound domains
156
+ # List the domains that have been configured for inbound delivery.
177
157
  # @param body
178
158
  # @param [Hash] opts the optional parameters
179
159
  # @return [Array<InlineResponse2005>]
180
160
  def domains(body = {}, opts = {})
181
- data, _status_code, _headers = domains_with_http_info(body, opts)
161
+ data = domains_with_http_info(body, opts)
182
162
  data
183
163
  end
184
164
 
185
- # /inbound/domains
186
- # Add an inbound domain to your account
165
+ # List inbound domains
166
+ # List the domains that have been configured for inbound delivery.
187
167
  # @param body
188
168
  # @param [Hash] opts the optional parameters
189
169
  # @return [Array<(Array<InlineResponse2005>, Fixnum, Hash)>] Array<InlineResponse2005> data, response status code and response headers
@@ -195,25 +175,21 @@ module MailchimpTransactional
195
175
  local_var_path = '/inbound/domains'
196
176
 
197
177
  # http body (model)
198
- auth_names = []
199
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
200
- :body => body,
201
- :auth_names => auth_names,
202
- :return_type => 'Array<InlineResponse2005>')
203
- return data, status_code, headers
178
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
179
+ return data
204
180
  end
205
- # /inbound/routes
206
- # List the mailbox routes defined for an inbound domain
181
+ # List mailbox routes
182
+ # List the mailbox routes defined for an inbound domain.
207
183
  # @param body
208
184
  # @param [Hash] opts the optional parameters
209
185
  # @return [Array<InlineResponse2009>]
210
186
  def routes(body = {}, opts = {})
211
- data, _status_code, _headers = routes_with_http_info(body, opts)
187
+ data = routes_with_http_info(body, opts)
212
188
  data
213
189
  end
214
190
 
215
- # /inbound/routes
216
- # List the mailbox routes defined for an inbound domain
191
+ # List mailbox routes
192
+ # List the mailbox routes defined for an inbound domain.
217
193
  # @param body
218
194
  # @param [Hash] opts the optional parameters
219
195
  # @return [Array<(Array<InlineResponse2009>, Fixnum, Hash)>] Array<InlineResponse2009> data, response status code and response headers
@@ -225,25 +201,21 @@ module MailchimpTransactional
225
201
  local_var_path = '/inbound/routes'
226
202
 
227
203
  # http body (model)
228
- auth_names = []
229
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
230
- :body => body,
231
- :auth_names => auth_names,
232
- :return_type => 'Array<InlineResponse2009>')
233
- return data, status_code, headers
204
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
205
+ return data
234
206
  end
235
- # /inbound/send-raw
236
- # Take a raw MIME document destined for a domain with inbound domains set up, and send it to the inbound hook exactly as if it had been sent over SMTP
207
+ # Send mime document
208
+ # Take a raw MIME document destined for a domain with inbound domains set up, and send it to the inbound hook exactly as if it had been sent over SMTP.
237
209
  # @param body
238
210
  # @param [Hash] opts the optional parameters
239
211
  # @return [Array<InlineResponse20013>]
240
212
  def send_raw(body = {}, opts = {})
241
- data, _status_code, _headers = send_raw_with_http_info(body, opts)
213
+ data = send_raw_with_http_info(body, opts)
242
214
  data
243
215
  end
244
216
 
245
- # /inbound/send-raw
246
- # Take a raw MIME document destined for a domain with inbound domains set up, and send it to the inbound hook exactly as if it had been sent over SMTP
217
+ # Send mime document
218
+ # Take a raw MIME document destined for a domain with inbound domains set up, and send it to the inbound hook exactly as if it had been sent over SMTP.
247
219
  # @param body
248
220
  # @param [Hash] opts the optional parameters
249
221
  # @return [Array<(Array<InlineResponse20013>, Fixnum, Hash)>] Array<InlineResponse20013> data, response status code and response headers
@@ -255,24 +227,20 @@ module MailchimpTransactional
255
227
  local_var_path = '/inbound/send-raw'
256
228
 
257
229
  # http body (model)
258
- auth_names = []
259
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
260
- :body => body,
261
- :auth_names => auth_names,
262
- :return_type => 'Array<InlineResponse20013>')
263
- return data, status_code, headers
230
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
231
+ return data
264
232
  end
265
- # /inbound/update-route
233
+ # Update mailbox route
266
234
  # Update the pattern or webhook of an existing inbound mailbox route. If null is provided for any fields, the values will remain unchanged.
267
235
  # @param body
268
236
  # @param [Hash] opts the optional parameters
269
237
  # @return [InlineResponse20011]
270
238
  def update_route(body = {}, opts = {})
271
- data, _status_code, _headers = update_route_with_http_info(body, opts)
239
+ data = update_route_with_http_info(body, opts)
272
240
  data
273
241
  end
274
242
 
275
- # /inbound/update-route
243
+ # Update mailbox route
276
244
  # Update the pattern or webhook of an existing inbound mailbox route. If null is provided for any fields, the values will remain unchanged.
277
245
  # @param body
278
246
  # @param [Hash] opts the optional parameters
@@ -285,12 +253,8 @@ module MailchimpTransactional
285
253
  local_var_path = '/inbound/update-route'
286
254
 
287
255
  # http body (model)
288
- auth_names = []
289
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
290
- :body => body,
291
- :auth_names => auth_names,
292
- :return_type => 'InlineResponse20011')
293
- return data, status_code, headers
256
+ data = @api_client.call_api(:POST, local_var_path, :body => body)
257
+ return data
294
258
  end
295
259
  end
296
260
  end