mailchimp-api 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,179 @@
1
+ module Mailchimp
2
+ class Error < Exception
3
+ end
4
+ class ValidationError < Error
5
+ end
6
+ class ServerMethodUnknownError < Error
7
+ end
8
+ class ServerInvalidParametersError < Error
9
+ end
10
+ class UnknownExceptionError < Error
11
+ end
12
+ class RequestTimedOutError < Error
13
+ end
14
+ class ZendUriExceptionError < Error
15
+ end
16
+ class PDOExceptionError < Error
17
+ end
18
+ class AvestaDbExceptionError < Error
19
+ end
20
+ class XMLRPC2ExceptionError < Error
21
+ end
22
+ class XMLRPC2FaultExceptionError < Error
23
+ end
24
+ class TooManyConnectionsError < Error
25
+ end
26
+ class ParseExceptionError < Error
27
+ end
28
+ class UserUnknownError < Error
29
+ end
30
+ class UserDisabledError < Error
31
+ end
32
+ class UserDoesNotExistError < Error
33
+ end
34
+ class UserNotApprovedError < Error
35
+ end
36
+ class InvalidApiKeyError < Error
37
+ end
38
+ class UserUnderMaintenanceError < Error
39
+ end
40
+ class InvalidAppKeyError < Error
41
+ end
42
+ class InvalidIPError < Error
43
+ end
44
+ class UserDoesExistError < Error
45
+ end
46
+ class UserInvalidRoleError < Error
47
+ end
48
+ class UserInvalidActionError < Error
49
+ end
50
+ class UserMissingEmailError < Error
51
+ end
52
+ class UserCannotSendCampaignError < Error
53
+ end
54
+ class UserMissingModuleOutboxError < Error
55
+ end
56
+ class UserModuleAlreadyPurchasedError < Error
57
+ end
58
+ class UserModuleNotPurchasedError < Error
59
+ end
60
+ class UserNotEnoughCreditError < Error
61
+ end
62
+ class MCInvalidPaymentError < Error
63
+ end
64
+ class ListDoesNotExistError < Error
65
+ end
66
+ class ListInvalidInterestFieldTypeError < Error
67
+ end
68
+ class ListInvalidOptionError < Error
69
+ end
70
+ class ListInvalidUnsubMemberError < Error
71
+ end
72
+ class ListInvalidBounceMemberError < Error
73
+ end
74
+ class ListAlreadySubscribedError < Error
75
+ end
76
+ class ListNotSubscribedError < Error
77
+ end
78
+ class ListInvalidImportError < Error
79
+ end
80
+ class MCPastedListDuplicateError < Error
81
+ end
82
+ class MCPastedListInvalidImportError < Error
83
+ end
84
+ class EmailAlreadySubscribedError < Error
85
+ end
86
+ class EmailAlreadyUnsubscribedError < Error
87
+ end
88
+ class EmailNotExistsError < Error
89
+ end
90
+ class EmailNotSubscribedError < Error
91
+ end
92
+ class ListMergeFieldRequiredError < Error
93
+ end
94
+ class ListCannotRemoveEmailMergeError < Error
95
+ end
96
+ class ListMergeInvalidMergeIDError < Error
97
+ end
98
+ class ListTooManyMergeFieldsError < Error
99
+ end
100
+ class ListInvalidMergeFieldError < Error
101
+ end
102
+ class ListInvalidInterestGroupError < Error
103
+ end
104
+ class ListTooManyInterestGroupsError < Error
105
+ end
106
+ class CampaignDoesNotExistError < Error
107
+ end
108
+ class CampaignStatsNotAvailableError < Error
109
+ end
110
+ class CampaignInvalidAbsplitError < Error
111
+ end
112
+ class CampaignInvalidContentError < Error
113
+ end
114
+ class CampaignInvalidOptionError < Error
115
+ end
116
+ class CampaignInvalidStatusError < Error
117
+ end
118
+ class CampaignNotSavedError < Error
119
+ end
120
+ class CampaignInvalidSegmentError < Error
121
+ end
122
+ class CampaignInvalidRssError < Error
123
+ end
124
+ class CampaignInvalidAutoError < Error
125
+ end
126
+ class MCContentImportInvalidArchiveError < Error
127
+ end
128
+ class CampaignBounceMissingError < Error
129
+ end
130
+ class CampaignInvalidTemplateError < Error
131
+ end
132
+ class InvalidEcommOrderError < Error
133
+ end
134
+ class AbsplitUnknownError < Error
135
+ end
136
+ class AbsplitUnknownSplitTestError < Error
137
+ end
138
+ class AbsplitUnknownTestTypeError < Error
139
+ end
140
+ class AbsplitUnknownWaitUnitError < Error
141
+ end
142
+ class AbsplitUnknownWinnerTypeError < Error
143
+ end
144
+ class AbsplitWinnerNotSelectedError < Error
145
+ end
146
+ class InvalidAnalyticsError < Error
147
+ end
148
+ class InvalidDateTimeError < Error
149
+ end
150
+ class InvalidEmailError < Error
151
+ end
152
+ class InvalidSendTypeError < Error
153
+ end
154
+ class InvalidTemplateError < Error
155
+ end
156
+ class InvalidTrackingOptionsError < Error
157
+ end
158
+ class InvalidOptionsError < Error
159
+ end
160
+ class InvalidFolderError < Error
161
+ end
162
+ class InvalidURLError < Error
163
+ end
164
+ class ModuleUnknownError < Error
165
+ end
166
+ class MonthlyPlanUnknownError < Error
167
+ end
168
+ class OrderTypeUnknownError < Error
169
+ end
170
+ class InvalidPagingLimitError < Error
171
+ end
172
+ class InvalidPagingStartError < Error
173
+ end
174
+ class MaxSizeReachedError < Error
175
+ end
176
+ class MCSearchExceptionError < Error
177
+ end
178
+ end
179
+
metadata ADDED
@@ -0,0 +1,98 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: mailchimp-api
3
+ version: !ruby/object:Gem::Version
4
+ hash: 15
5
+ prerelease:
6
+ segments:
7
+ - 2
8
+ - 0
9
+ - 0
10
+ version: 2.0.0
11
+ platform: ruby
12
+ authors:
13
+ - MailChimp Devs
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2013-08-05 00:00:00 Z
19
+ dependencies:
20
+ - !ruby/object:Gem::Dependency
21
+ name: json
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
25
+ requirements:
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ hash: 5
29
+ segments:
30
+ - 1
31
+ - 7
32
+ - 7
33
+ version: 1.7.7
34
+ type: :runtime
35
+ version_requirements: *id001
36
+ - !ruby/object:Gem::Dependency
37
+ name: excon
38
+ prerelease: false
39
+ requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
41
+ requirements:
42
+ - - ">="
43
+ - !ruby/object:Gem::Version
44
+ hash: 95
45
+ segments:
46
+ - 0
47
+ - 16
48
+ - 0
49
+ version: 0.16.0
50
+ type: :runtime
51
+ version_requirements: *id002
52
+ description: A Ruby API library for the MailChimp email platform
53
+ email: api@mailchimp.com
54
+ executables: []
55
+
56
+ extensions: []
57
+
58
+ extra_rdoc_files: []
59
+
60
+ files:
61
+ - lib/mailchimp.rb
62
+ - lib/mailchimp/api.rb
63
+ - lib/mailchimp/errors.rb
64
+ homepage: https://bitbucket.org/mailchimp/mailchimp-api-ruby/
65
+ licenses: []
66
+
67
+ post_install_message:
68
+ rdoc_options: []
69
+
70
+ require_paths:
71
+ - lib
72
+ required_ruby_version: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ hash: 3
78
+ segments:
79
+ - 0
80
+ version: "0"
81
+ required_rubygems_version: !ruby/object:Gem::Requirement
82
+ none: false
83
+ requirements:
84
+ - - ">="
85
+ - !ruby/object:Gem::Version
86
+ hash: 3
87
+ segments:
88
+ - 0
89
+ version: "0"
90
+ requirements: []
91
+
92
+ rubyforge_project:
93
+ rubygems_version: 1.8.15
94
+ signing_key:
95
+ specification_version: 3
96
+ summary: A Ruby API library for the MailChimp email platform.
97
+ test_files: []
98
+