mailchimp_api 1.7.0 → 1.8.0

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: b6f3a3b05f0dc84945330f8cff4f8d0a06783f5c0f8bd81e4d310bbdcbc3ee0a
4
- data.tar.gz: abc8918ae280aebf9aa82a43f2c8cf331115e64403c8c99194a3876e9c360f5c
3
+ metadata.gz: 608ebd5279e9a856e499ecb8057c9adc187e8755eca94534f74b352dba5c3c90
4
+ data.tar.gz: 538f0fccb5cced675800afe9cc930499644e3bb78916baa298435ceedb60e5d2
5
5
  SHA512:
6
- metadata.gz: 1821f83e00e865980553896d516ad587c400d3d83e17ad49b6e76278e66d15a6d49f34412e78e283efeee45f82cbf51f56d10c9a663fa28accfc6ffa1cad7785
7
- data.tar.gz: 636c9a871de1d1bfbda903ad288a6ea487877c4803ffa99c26688f115932cc49443794b42f0f1a29c0c1a827f7c659dbbd41549843ad15496945ef73927e0ee3
6
+ metadata.gz: 7abd305d53a9e7cc545d5d22dcde5f516de26150ceedc98206bbe8db1596681e8023937dc3155fdf5132dc765d83f3fc9b957c085ae9e2187f22ed19503887e5
7
+ data.tar.gz: 86f596ebaf5a5497910e1df40b17dce389798513e9c5772f2e144c6fff2a1bea6e0ea9acbebe5baa0da3a79359cdfca8e0fecdf78b1c08decb52fc3ccb55b58c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## [1.8.0]
4
+
5
+ - Support of `/file-manager/files`
6
+
3
7
  ## [1.7.0]
4
8
 
5
9
  - Support of `/campaigns/:campaign_id/feedback`
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ module MailchimpAPI::CollectionParsers
4
+ class FileManagerFile < Base
5
+ def element_key
6
+ 'files'
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module MailchimpAPI
4
+ class FileManagerFile < Base
5
+ extend MailchimpAPI::Support::Countable
6
+
7
+ include MailchimpAPI::Support::PatchUpdate
8
+
9
+ self.collection_parser = CollectionParsers::FileManagerFile
10
+
11
+ self.element_name = 'file-manager/file'
12
+ self.collection_name = 'file-manager/files'
13
+ end
14
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MailchimpAPI
4
- VERSION = '1.7.0'
4
+ VERSION = '1.8.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailchimp_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.0
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - rewind.io
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-21 00:00:00.000000000 Z
11
+ date: 2019-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeresource
@@ -195,6 +195,7 @@ files:
195
195
  - lib/mailchimp_api/collection_parsers/campaign.rb
196
196
  - lib/mailchimp_api/collection_parsers/campaign_folder.rb
197
197
  - lib/mailchimp_api/collection_parsers/feedback.rb
198
+ - lib/mailchimp_api/collection_parsers/file_manager_file.rb
198
199
  - lib/mailchimp_api/collection_parsers/file_manager_folder.rb
199
200
  - lib/mailchimp_api/collection_parsers/interest.rb
200
201
  - lib/mailchimp_api/collection_parsers/interest_category.rb
@@ -221,6 +222,7 @@ files:
221
222
  - lib/mailchimp_api/resources/campaign_content.rb
222
223
  - lib/mailchimp_api/resources/campaign_folder.rb
223
224
  - lib/mailchimp_api/resources/feedback.rb
225
+ - lib/mailchimp_api/resources/file_manager_file.rb
224
226
  - lib/mailchimp_api/resources/file_manager_folder.rb
225
227
  - lib/mailchimp_api/resources/interest.rb
226
228
  - lib/mailchimp_api/resources/interest_category.rb