closeio 2.4.8 → 2.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/closeio/resources/integration_link.rb +33 -0
- data/lib/closeio/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7fdb8c3289f216c6fa8ca3bb55b0bf0dd9e9d1f9
|
4
|
+
data.tar.gz: e068edcc17a6738b08b6c201f9117135151ec083
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9778810192005f7906ad380658612bfa3b2f87739dc6f91a37024424f4df97fbdee70d1c8273d29c027456de6e11f08381a023d962b467ec444fc1451f8d4b20
|
7
|
+
data.tar.gz: 59ac422e3d8114aa6df6ac8b19e9bb2f5a5f2ada3c6389383425ce0fb72679fad3b1249cadd18e3caf6133a511d7f7b06e044bd8a6d57a1264da0a2e27265449
|
@@ -0,0 +1,33 @@
|
|
1
|
+
module Closeio
|
2
|
+
class Client
|
3
|
+
module IntegrationLink
|
4
|
+
|
5
|
+
def list_integration_links
|
6
|
+
get(custom_field_path)
|
7
|
+
end
|
8
|
+
|
9
|
+
def find_integration_link(id)
|
10
|
+
get("#{custom_field_path}#{id}/")
|
11
|
+
end
|
12
|
+
|
13
|
+
def create_integration_link(options={})
|
14
|
+
post(custom_field_path, options)
|
15
|
+
end
|
16
|
+
|
17
|
+
def update_integration_link(id, options={})
|
18
|
+
put("#{custom_field_path}#{id}/", options)
|
19
|
+
end
|
20
|
+
|
21
|
+
def delete_integration_link(id)
|
22
|
+
delete("#{custom_field_path}#{id}/")
|
23
|
+
end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
def custom_field_path
|
28
|
+
"integration_link/"
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
data/lib/closeio/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: closeio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Taylor Brooks
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -159,6 +159,7 @@ files:
|
|
159
159
|
- lib/closeio/resources/contact.rb
|
160
160
|
- lib/closeio/resources/custom_field.rb
|
161
161
|
- lib/closeio/resources/email_template.rb
|
162
|
+
- lib/closeio/resources/integration_link.rb
|
162
163
|
- lib/closeio/resources/lead.rb
|
163
164
|
- lib/closeio/resources/lead_status.rb
|
164
165
|
- lib/closeio/resources/opportunity.rb
|
@@ -190,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
190
191
|
version: '0'
|
191
192
|
requirements: []
|
192
193
|
rubyforge_project:
|
193
|
-
rubygems_version: 2.4.
|
194
|
+
rubygems_version: 2.4.5
|
194
195
|
signing_key:
|
195
196
|
specification_version: 4
|
196
197
|
summary: A Ruby wrapper for the CloseIO API
|