mailchimp-api 2.0.0 → 2.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/mailchimp/api.rb +11 -10
  2. metadata +4 -4
data/lib/mailchimp/api.rb CHANGED
@@ -224,6 +224,7 @@ module Mailchimp
224
224
  # - [String] name a display name for the account - empty first/last names will return the username
225
225
  # - [String] email the email tied to the account used for passwords resets and the ilk
226
226
  # - [String] role the role assigned to the account
227
+ # - [String] avatar if available, the url for the login's avatar
227
228
  def logins()
228
229
  _params = {}
229
230
  return @master.call 'users/logins', _params
@@ -759,8 +760,8 @@ module Mailchimp
759
760
 
760
761
  # Get the most recent 100 activities for particular list members (open, click, bounce, unsub, abuse, sent to, etc.)
761
762
  # @param [String] id the list id to connect to. Get by calling lists()
762
- # @param [Array] emails an array of up to 50 email address struct to retrieve activity information for
763
- # - [String] email an email address
763
+ # @param [Array] emails an array of up to 50 email structs, each with with one of the following keys
764
+ # - [String] email an email address - for new subscribers obviously this should be used
764
765
  # - [String] euid the unique id for an email address (not list related) - the email "id" returned from listMemberInfo, Webhooks, Campaigns, etc.
765
766
  # - [String] leid the list email id (previously called web_id) for a list-member-info type call. this doesn't change when the email address changes
766
767
  # @return [Hash] of data and success/error counts
@@ -792,8 +793,8 @@ module Mailchimp
792
793
 
793
794
  # Get all the information for particular members of a list
794
795
  # @param [String] id the list id to connect to. Get by calling lists()
795
- # @param [Array] emails an array of up to 50 email address struct to retrieve member information for
796
- # - [String] email an email address
796
+ # @param [Array] emails an array of up to 50 email structs, each with with one of the following keys
797
+ # - [String] email an email address - for new subscribers obviously this should be used
797
798
  # - [String] euid the unique id for an email address (not list related) - the email "id" returned from listMemberInfo, Webhooks, Campaigns, etc.
798
799
  # - [String] leid the list email id (previously called web_id) for a list-member-info type call. this doesn't change when the email address changes
799
800
  # @return [Hash] of data and success/error counts
@@ -996,7 +997,7 @@ module Mailchimp
996
997
 
997
998
  # Save a segment against a list for later use. There is no limit to the number of segments which can be saved. Static Segments <strong>are not</strong> tied to any merge data, interest groups, etc. They essentially allow you to configure an unlimited number of custom segments which will have standard performance. When using proper segments, Static Segments are one of the available options for segmentation just as if you used a merge var (and they can be used with other segmentation options), though performance may degrade at that point.
998
999
  # @param [String] id the list id to connect to. Get by calling lists()
999
- # @param [String] name a unique name per list for the segment - 50 byte maximum length, anything longer will throw an error
1000
+ # @param [String] name a unique name per list for the segment - 100 byte maximum length, anything longer will throw an error
1000
1001
  # @return [Hash] with a single entry:
1001
1002
  # - [Int] id the id of the new segment, otherwise an error will be thrown.
1002
1003
  def static_segment_add(id, name)
@@ -1395,7 +1396,7 @@ module Mailchimp
1395
1396
  end
1396
1397
 
1397
1398
  # Get the list of campaigns and their details matching the specified filters
1398
- # @param [Array] filters a hash of filters to apply to this query - all are optional:
1399
+ # @param [Hash] filters a struct of filters to apply to this query - all are optional:
1399
1400
  # - [String] campaign_id optional - return the campaign using a know campaign_id. Accepts multiples separated by commas when not using exact matching.
1400
1401
  # - [String] parent_id optional - return the child campaigns using a known parent campaign_id. Accepts multiples separated by commas when not using exact matching.
1401
1402
  # - [String] list_id optional - the list to send this campaign to - get lists using lists(). Accepts multiples separated by commas when not using exact matching.
@@ -1624,8 +1625,8 @@ module Mailchimp
1624
1625
 
1625
1626
  # Add VIPs (previously called Golden Monkeys)
1626
1627
  # @param [String] id the list id to connect to. Get by calling lists()
1627
- # @param [Array] emails an array of up to 50 email address structs to add
1628
- # - [String] email an email address
1628
+ # @param [Array] emails an array of up to 50 email address structs to add, each with with one of the following keys
1629
+ # - [String] email an email address - for new subscribers obviously this should be used
1629
1630
  # - [String] euid the unique id for an email address (not list related) - the email "id" returned from listMemberInfo, Webhooks, Campaigns, etc.
1630
1631
  # - [String] leid the list email id (previously called web_id) for a list-member-info type call. this doesn't change when the email address changes
1631
1632
  # @return [Hash] of data and success/error counts
@@ -1650,8 +1651,8 @@ module Mailchimp
1650
1651
 
1651
1652
  # Remove VIPs - this does not affect list membership
1652
1653
  # @param [String] id the list id to connect to. Get by calling lists()
1653
- # @param [Array] emails an array of up to 50 email address structs to remove
1654
- # - [String] email an email address
1654
+ # @param [Array] emails an array of up to 50 email address structs to remove, each with with one of the following keys
1655
+ # - [String] email an email address - for new subscribers obviously this should be used
1655
1656
  # - [String] euid the unique id for an email address (not list related) - the email "id" returned from listMemberInfo, Webhooks, Campaigns, etc.
1656
1657
  # - [String] leid the list email id (previously called web_id) for a list-member-info type call. this doesn't change when the email address changes
1657
1658
  # @return [Hash] of data and success/error counts
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailchimp-api
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 0
10
- version: 2.0.0
9
+ - 1
10
+ version: 2.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - MailChimp Devs
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2013-08-05 00:00:00 Z
18
+ date: 2013-08-09 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: json