capsulecrm-b 0.0.9 → 0.0.10

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.
data/examples.rb CHANGED
@@ -5,10 +5,9 @@ CapsuleCRM.account_name = "futureworkshops"
5
5
  CapsuleCRM.api_token = ENV['CAPSULE_CRM_API_KEY']
6
6
  CapsuleCRM.initialize!
7
7
 
8
- oppo = CapsuleCRM::Opportunity.find(1084419)
8
+ oppo = CapsuleCRM::Opportunity.find(1053673)
9
9
  puts oppo.party.name
10
- puts oppo.custom_fields[0].label
11
- puts oppo.custom_fields[0].text
10
+ puts oppo.duration
12
11
 
13
12
  # find by id
14
13
  person = CapsuleCRM::Person.find 123
@@ -21,6 +21,7 @@ class CapsuleCRM::Opportunity < CapsuleCRM::Base
21
21
  'currency' => 'currency',
22
22
  'value' => 'value',
23
23
  'durationBasis' => 'duration_basis',
24
+ 'duration' => 'duration',
24
25
  'expectedCloseDate' => 'expected_close_date',
25
26
  'actualCloseDate' => 'actual_close_date',
26
27
  'milestone' => 'milestone',
@@ -1,3 +1,3 @@
1
1
  module CapsuleCRM
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capsulecrm-b
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-01-24 00:00:00.000000000 Z
14
+ date: 2013-02-06 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: httparty
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  version: '0'
135
135
  requirements: []
136
136
  rubyforge_project:
137
- rubygems_version: 1.8.24
137
+ rubygems_version: 1.8.25
138
138
  signing_key:
139
139
  specification_version: 3
140
140
  summary: CapsuleCRM API Gem