infusionsoft-api 0.0.2 → 0.0.3

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.
@@ -4,7 +4,7 @@ module Infusionsoft
4
4
  class Contact < Infusionsoft::Api::Model::Base
5
5
 
6
6
  def fields
7
- [:FirstName, :LastName, :Company, :Email]
7
+ [:Id, :FirstName, :LastName, :Company, :Email]
8
8
  end
9
9
 
10
10
  end
@@ -6,6 +6,7 @@ module Infusionsoft
6
6
  def all(query = {}, page_number = 0)
7
7
  results = super(query, page_number)
8
8
  results.map{|x|{
9
+ 'Id' => x['ContactId'],
9
10
  'FirstName' => x['Contact.FirstName'],
10
11
  'LastName' => x['Contact.LastName'],
11
12
  'Company' => x['Contact.Company'],
@@ -19,7 +20,7 @@ module Infusionsoft
19
20
  end
20
21
 
21
22
  def fields
22
- [:'ContactGroup', :'Contact.FirstName', :'Contact.LastName', :'Contact.Company', :'Contact.Email']
23
+ [:'ContactGroup', :'ContactId', :'Contact.FirstName', :'Contact.LastName', :'Contact.Company', :'Contact.Email']
23
24
  end
24
25
 
25
26
  end
@@ -1,5 +1,5 @@
1
1
  module Infusionsoft
2
2
  module Api
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infusionsoft-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-11-06 00:00:00.000000000 Z
12
+ date: 2013-11-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -78,7 +78,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
78
78
  version: '0'
79
79
  segments:
80
80
  - 0
81
- hash: 3857265908780957625
81
+ hash: 2200985537662002865
82
82
  required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
@@ -87,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  version: '0'
88
88
  segments:
89
89
  - 0
90
- hash: 3857265908780957625
90
+ hash: 2200985537662002865
91
91
  requirements: []
92
92
  rubyforge_project:
93
93
  rubygems_version: 1.8.23