closeio 3.0.1 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 098d82362f5688f53673a0636dd5c053a217a572
4
- data.tar.gz: 73b8b1889be0177ebde71860a1b6b6321c56bda3
3
+ metadata.gz: e8cc7a1f4033cd349542586b8329ea25213e40f6
4
+ data.tar.gz: 2496a3bcb019c7a4284e5cccd674f85689c66c03
5
5
  SHA512:
6
- metadata.gz: 0d491fa4e22d857400f677b06639d28da8b829fdb8f2c3aa9ef18c05422a8b242887fa6f5eb9a1d68988e73f61d5a508c7846e13f6b24cbbce220e9949811c3d
7
- data.tar.gz: 4ba029c8b525fa356d4a643031d0a7db08baa574ac3aed10f12c2e7f71949275e111b2c40dc58ad84660b6d71a8bc0824083397db3c1573a8a932ada72fbff70
6
+ metadata.gz: bff42969ca7d472249ab49343ba78a04dfbdf471aacbd92ef6cd99e05b26d75bbceb694f2be2a9616ee469a57fe6e64575c904ab7f6122d4ab5465c2281b173c
7
+ data.tar.gz: ce6fe2465deb0ad2440bdd19e92fd1365af964e70c03acc62ab2a79271ff8a724e35460fa33d21a93071d293cf0030a81e6dd892d24be6a484efe9e339bfe251
data/README.md CHANGED
@@ -24,9 +24,9 @@ Add this line to your application's Gemfile:
24
24
  client.find_lead('lead_xxxxxxxxxxxx')
25
25
 
26
26
  # See some data about the lead
27
- lead.data.addresses
28
- lead.data.contacts
29
- lead.data.opportunities
27
+ lead[:data][:addresses]
28
+ lead[:data][:contacts]
29
+ lead[:data][:opportunities]
30
30
 
31
31
  # Update the lead
32
32
  client.update_lead(lead.id,
@@ -71,7 +71,7 @@ Add this line to your application's Gemfile:
71
71
 
72
72
  # Saved Search (SmartView)
73
73
  smart_view = client.list_smart_views
74
- smart_views.leads
74
+ smart_views[:data][:leads]
75
75
  ````
76
76
 
77
77
  ### Options
@@ -110,4 +110,4 @@ Everyone is encouraged to help improve this project. Here are a few ways you can
110
110
  - Suggest or add new features
111
111
 
112
112
  ### Copyright
113
- Copyright (c) 2016 Taylor Brooks. See LICENSE for details.
113
+ Copyright (c) 2018 Taylor Brooks. See LICENSE for details.
@@ -14,7 +14,7 @@ module Closeio
14
14
 
15
15
  # OPTIONS [date_start, date_end, user_id]
16
16
  def sent_emails_report(organization_id, options = {})
17
- get("report/sent_email/#{organization_id}/", options)
17
+ get("report/sent_emails/#{organization_id}/", options)
18
18
  end
19
19
 
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module Closeio
2
- VERSION = '3.0.1'
2
+ VERSION = '3.1.0'.freeze
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: 3.0.1
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Taylor Brooks
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-25 00:00:00.000000000 Z
11
+ date: 2018-05-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday