MailchimpTransactional 1.0.44 → 1.0.45
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/CHANGELOG.md +6 -0
- data/MailchimpTransactional.gemspec +1 -1
- data/README.md +3 -3
- data/lib/MailchimpTransactional/api/allowlists_api.rb +1 -1
- data/lib/MailchimpTransactional/api/exports_api.rb +1 -1
- data/lib/MailchimpTransactional/api/inbound_api.rb +1 -1
- data/lib/MailchimpTransactional/api/ips_api.rb +1 -1
- data/lib/MailchimpTransactional/api/messages_api.rb +1 -1
- data/lib/MailchimpTransactional/api/metadata_api.rb +1 -1
- data/lib/MailchimpTransactional/api/rejects_api.rb +1 -1
- data/lib/MailchimpTransactional/api/senders_api.rb +1 -1
- data/lib/MailchimpTransactional/api/subaccounts_api.rb +1 -1
- data/lib/MailchimpTransactional/api/tags_api.rb +1 -1
- data/lib/MailchimpTransactional/api/templates_api.rb +1 -1
- data/lib/MailchimpTransactional/api/urls_api.rb +1 -1
- data/lib/MailchimpTransactional/api/users_api.rb +1 -1
- data/lib/MailchimpTransactional/api/webhooks_api.rb +1 -1
- data/lib/MailchimpTransactional/api/whitelists_api.rb +1 -1
- data/lib/MailchimpTransactional/api_client.rb +7 -2
- data/lib/MailchimpTransactional/api_error.rb +1 -1
- data/lib/MailchimpTransactional/configuration.rb +1 -1
- data/lib/MailchimpTransactional/version.rb +2 -2
- data/lib/MailchimpTransactional.rb +5 -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: 45cbb914eddc22eea3c06860b7be25073bc3d5900443670ac655142cad2f5792
|
|
4
|
+
data.tar.gz: b7b45152b25f31a30fb0ae1f7341cf2b75bdc0eefe8495a29304b81cfa3622f2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4b61d2ae530660b612b6d50076f0561eac2a295afac2020c797d6be6878c3d5df91039a1371960b29b4036c5c5774d558f8a4e899cbd81f293a2bfe98840c7de
|
|
7
|
+
data.tar.gz: 13e7b153aadce32009e4df05c378961d9bdd257ed9dcdf6f2338bfd7c2824de1569c18150725c8b8979c964df08a7c963c842452af8e3c07f523d6eb46ba51b2
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
## Transactional
|
|
4
4
|
|
|
5
|
+
### 1.0.45
|
|
6
|
+
* Added a `set_timeout` method to the Client class in the Ruby SDK
|
|
7
|
+
|
|
5
8
|
### 1.0.44
|
|
6
9
|
* Added a `set_timeout` method to the Client class in the Python SDK
|
|
7
10
|
|
|
@@ -28,6 +31,9 @@
|
|
|
28
31
|
|
|
29
32
|
## Marketing
|
|
30
33
|
|
|
34
|
+
### 3.0.69
|
|
35
|
+
* Added handling for a `timeout` field in the config block passed to the client constructor in the Ruby Marketing SDK.
|
|
36
|
+
|
|
31
37
|
### 3.0.68
|
|
32
38
|
* Added handling for a `'timeout'` field in `set_config()` in the Python Marketing SDK.
|
|
33
39
|
|
|
@@ -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.
|
|
8
|
+
OpenAPI spec version: 1.0.45
|
|
9
9
|
Contact: apihelp@mailchimp.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
|
@@ -21,15 +21,15 @@ gem build MailchimpTransactional.gemspec
|
|
|
21
21
|
Then either install the gem locally:
|
|
22
22
|
|
|
23
23
|
```shell
|
|
24
|
-
gem install ./MailchimpTransactional-1.0.
|
|
24
|
+
gem install ./MailchimpTransactional-1.0.45.gem
|
|
25
25
|
```
|
|
26
|
-
(for development, run `gem install --dev ./MailchimpTransactional-1.0.
|
|
26
|
+
(for development, run `gem install --dev ./MailchimpTransactional-1.0.45.gem` to install the development dependencies)
|
|
27
27
|
|
|
28
28
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
|
29
29
|
|
|
30
30
|
Finally add this to the Gemfile:
|
|
31
31
|
|
|
32
|
-
gem 'MailchimpTransactional', '~> 1.0.
|
|
32
|
+
gem 'MailchimpTransactional', '~> 1.0.45'
|
|
33
33
|
|
|
34
34
|
### Install from Git
|
|
35
35
|
|
|
@@ -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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
Swagger Codegen version: 2.4.12
|
|
@@ -20,6 +20,7 @@ module MailchimpTransactional
|
|
|
20
20
|
@format_list = ['json', 'xml', 'php', 'yaml']
|
|
21
21
|
@default_output_format = 'json'
|
|
22
22
|
@accepts = ['application/json', 'application/xml', 'application/x-php', 'application/x-yaml; charset=utf-8']
|
|
23
|
+
@timeout = 300
|
|
23
24
|
set_api_key(api_key)
|
|
24
25
|
end
|
|
25
26
|
|
|
@@ -37,6 +38,10 @@ module MailchimpTransactional
|
|
|
37
38
|
end
|
|
38
39
|
end
|
|
39
40
|
|
|
41
|
+
def set_timeout(timeout)
|
|
42
|
+
@timeout = timeout
|
|
43
|
+
end
|
|
44
|
+
|
|
40
45
|
def call_api(http_method, path, body = {})
|
|
41
46
|
use_default_output_format = true
|
|
42
47
|
active_output_format = @default_output_format
|
|
@@ -63,7 +68,7 @@ module MailchimpTransactional
|
|
|
63
68
|
body[:key] = @api_key
|
|
64
69
|
|
|
65
70
|
# send request
|
|
66
|
-
conn = Excon.new(url, :headers => {'Content-Type' => 'application/json'}, :read_timeout =>
|
|
71
|
+
conn = Excon.new(url, :headers => {'Content-Type' => 'application/json'}, :read_timeout => @timeout, :write_timeout => @timeout, :connect_timeout => @timeout)
|
|
67
72
|
res = conn.post(:body => body.to_json)
|
|
68
73
|
|
|
69
74
|
# handle response
|
|
@@ -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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.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.
|
|
14
|
+
VERSION = '1.0.45'
|
|
15
15
|
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
|
+
OpenAPI spec version: 1.0.45
|
|
7
7
|
Contact: apihelp@mailchimp.com
|
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
Swagger Codegen version: 2.4.12
|
|
@@ -63,6 +63,10 @@ module MailchimpTransactional
|
|
|
63
63
|
@api_client.set_default_output_format(output_format)
|
|
64
64
|
end
|
|
65
65
|
|
|
66
|
+
def set_timeout(timeout)
|
|
67
|
+
@api_client.set_timeout(timeout)
|
|
68
|
+
end
|
|
69
|
+
|
|
66
70
|
def allowlists
|
|
67
71
|
@Allowlists
|
|
68
72
|
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.
|
|
4
|
+
version: 1.0.45
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mailchimp
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-10-
|
|
11
|
+
date: 2021-10-07 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: excon
|