active_campaign 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +20 -0
- data/.rspec +3 -0
- data/.travis.yml +13 -0
- data/Gemfile +19 -0
- data/LICENSE.txt +22 -0
- data/README.md +29 -0
- data/Rakefile +1 -0
- data/active_campaign.gemspec +27 -0
- data/lib/active_campaign/.DS_Store +0 -0
- data/lib/active_campaign/client/campaigns.rb +45 -0
- data/lib/active_campaign/client/contacts.rb +39 -0
- data/lib/active_campaign/client/lists.rb +23 -0
- data/lib/active_campaign/client/messages.rb +44 -0
- data/lib/active_campaign/client.rb +25 -0
- data/lib/active_campaign/configuration.rb +73 -0
- data/lib/active_campaign/connection.rb +50 -0
- data/lib/active_campaign/error.rb +68 -0
- data/lib/active_campaign/param_validation.rb +12 -0
- data/lib/active_campaign/request.rb +85 -0
- data/lib/active_campaign/version.rb +3 -0
- data/lib/active_campaign.rb +34 -0
- data/lib/faraday/response/body_logger.rb +37 -0
- data/lib/faraday/response/raise_active_campaign_error.rb +25 -0
- data/spec/active_campaign_spec.rb +31 -0
- data/spec/client/contacts_spec.rb +41 -0
- data/spec/client/lists_spec.rb +48 -0
- data/spec/client_spec.rb +7 -0
- data/spec/fixtures/contact_sync.json +8 -0
- data/spec/fixtures/contact_view.json +78 -0
- data/spec/fixtures/list_view.json +220 -0
- data/spec/helper.rb +111 -0
- metadata +168 -0
metadata
ADDED
@@ -0,0 +1,168 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: active_campaign
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mikael Henriksson
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-06-28 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: httpclient
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '2.3'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '2.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: hashie
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: activesupport
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 4.0.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 4.0.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: faraday
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.8'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0.8'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: faraday_middleware
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ~>
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0.9'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ~>
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0.9'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: multi_json
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ~>
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '1.7'
|
90
|
+
type: :runtime
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '1.7'
|
97
|
+
description: A simple ruby wrapper for the ActiveCampaign API
|
98
|
+
email:
|
99
|
+
- mikael@zoolutions.se
|
100
|
+
executables: []
|
101
|
+
extensions: []
|
102
|
+
extra_rdoc_files: []
|
103
|
+
files:
|
104
|
+
- .gitignore
|
105
|
+
- .rspec
|
106
|
+
- .travis.yml
|
107
|
+
- Gemfile
|
108
|
+
- LICENSE.txt
|
109
|
+
- README.md
|
110
|
+
- Rakefile
|
111
|
+
- active_campaign.gemspec
|
112
|
+
- lib/active_campaign.rb
|
113
|
+
- lib/active_campaign/.DS_Store
|
114
|
+
- lib/active_campaign/client.rb
|
115
|
+
- lib/active_campaign/client/campaigns.rb
|
116
|
+
- lib/active_campaign/client/contacts.rb
|
117
|
+
- lib/active_campaign/client/lists.rb
|
118
|
+
- lib/active_campaign/client/messages.rb
|
119
|
+
- lib/active_campaign/configuration.rb
|
120
|
+
- lib/active_campaign/connection.rb
|
121
|
+
- lib/active_campaign/error.rb
|
122
|
+
- lib/active_campaign/param_validation.rb
|
123
|
+
- lib/active_campaign/request.rb
|
124
|
+
- lib/active_campaign/version.rb
|
125
|
+
- lib/faraday/response/body_logger.rb
|
126
|
+
- lib/faraday/response/raise_active_campaign_error.rb
|
127
|
+
- spec/active_campaign_spec.rb
|
128
|
+
- spec/client/contacts_spec.rb
|
129
|
+
- spec/client/lists_spec.rb
|
130
|
+
- spec/client_spec.rb
|
131
|
+
- spec/fixtures/contact_sync.json
|
132
|
+
- spec/fixtures/contact_view.json
|
133
|
+
- spec/fixtures/list_view.json
|
134
|
+
- spec/helper.rb
|
135
|
+
homepage: ''
|
136
|
+
licenses:
|
137
|
+
- MIT
|
138
|
+
metadata: {}
|
139
|
+
post_install_message:
|
140
|
+
rdoc_options: []
|
141
|
+
require_paths:
|
142
|
+
- lib
|
143
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - '>='
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '0'
|
148
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
requirements: []
|
154
|
+
rubyforge_project:
|
155
|
+
rubygems_version: 2.0.3
|
156
|
+
signing_key:
|
157
|
+
specification_version: 4
|
158
|
+
summary: See http://www.activecampaign.com/api/overview.php for more information
|
159
|
+
test_files:
|
160
|
+
- spec/active_campaign_spec.rb
|
161
|
+
- spec/client/contacts_spec.rb
|
162
|
+
- spec/client/lists_spec.rb
|
163
|
+
- spec/client_spec.rb
|
164
|
+
- spec/fixtures/contact_sync.json
|
165
|
+
- spec/fixtures/contact_view.json
|
166
|
+
- spec/fixtures/list_view.json
|
167
|
+
- spec/helper.rb
|
168
|
+
has_rdoc:
|