MailchimpTransactional 1.0.6 → 1.0.8

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.
@@ -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
- # /whitelists/add
25
+ # Add email to whitelist
26
26
  # Adds an email to your email rejection whitelist. If the address is currently on your blacklist, that blacklist entry will be removed automatically.
27
27
  # @param body
28
28
  # @param [Hash] opts the optional parameters
29
29
  # @return [InlineResponse20076]
30
30
  def add(body = {}, opts = {})
31
- data, _status_code, _headers = add_with_http_info(body, opts)
31
+ data = add_with_http_info(body, opts)
32
32
  data
33
33
  end
34
34
 
35
- # /whitelists/add
35
+ # Add email to whitelist
36
36
  # Adds an email to your email rejection whitelist. If the address is currently on your blacklist, that blacklist entry will be removed automatically.
37
37
  # @param body
38
38
  # @param [Hash] opts the optional parameters
@@ -45,24 +45,20 @@ module MailchimpTransactional
45
45
  local_var_path = '/whitelists/add'
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 => 'InlineResponse20076')
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
- # /whitelists/delete
51
+ # Remove email from whitelist
56
52
  # Removes an email address from the whitelist.
57
53
  # @param body
58
54
  # @param [Hash] opts the optional parameters
59
55
  # @return [InlineResponse20078]
60
56
  def delete(body = {}, opts = {})
61
- data, _status_code, _headers = delete_with_http_info(body, opts)
57
+ data = delete_with_http_info(body, opts)
62
58
  data
63
59
  end
64
60
 
65
- # /whitelists/delete
61
+ # Remove email from whitelist
66
62
  # Removes an email address from the whitelist.
67
63
  # @param body
68
64
  # @param [Hash] opts the optional parameters
@@ -75,24 +71,20 @@ module MailchimpTransactional
75
71
  local_var_path = '/whitelists/delete'
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 => 'InlineResponse20078')
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
- # /whitelists/list
77
+ # List whitelisted emails
86
78
  # Retrieves your email rejection whitelist. You can provide an email address or search prefix to limit the results. Returns up to 1000 results.
87
79
  # @param body
88
80
  # @param [Hash] opts the optional parameters
89
81
  # @return [Array<InlineResponse20077>]
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
- # /whitelists/list
87
+ # List whitelisted emails
96
88
  # Retrieves your email rejection whitelist. You can provide an email address or search prefix to limit the results. Returns up to 1000 results.
97
89
  # @param body
98
90
  # @param [Hash] opts the optional parameters
@@ -105,12 +97,8 @@ module MailchimpTransactional
105
97
  local_var_path = '/whitelists/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<InlineResponse20077>')
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
103
  end
116
104
  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
@@ -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
@@ -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
@@ -11,5 +11,5 @@ Swagger Codegen version: 2.4.12
11
11
  =end
12
12
 
13
13
  module MailchimpTransactional
14
- VERSION = '1.0.6'
14
+ VERSION = '1.0.8'
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: MailchimpTransactional
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Swagger-Codegen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-10 00:00:00.000000000 Z
11
+ date: 2020-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday