closeio 2.4.8 → 2.4.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0869d75495a36c039a26ed1dbd2c5d6bd538e039
4
- data.tar.gz: 790d794c458962b26f722d3a714efde0aa3a8daa
3
+ metadata.gz: 7fdb8c3289f216c6fa8ca3bb55b0bf0dd9e9d1f9
4
+ data.tar.gz: e068edcc17a6738b08b6c201f9117135151ec083
5
5
  SHA512:
6
- metadata.gz: 34c5f2c33e95ce8322d58482bf1bc06dc61c04cafd577cfb856fbeff30ecff53acd3a8e522eb739312be709e9bc7a87e9b4df7339eb596b9573818d46e6360a9
7
- data.tar.gz: 205f2ef5082ca79d14d782fb406d6d0ad3c4cb894681189eea798969fc900b41b51b2d1aa0bf0349a042d82fcb366536f689acc3bd3c05081df6f0725c9a79ad
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
@@ -1,3 +1,3 @@
1
1
  module Closeio
2
- VERSION = "2.4.8"
2
+ VERSION = "2.4.9"
3
3
  end
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.8
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-03-16 00:00:00.000000000 Z
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.8
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