infusionsoft 1.0.8b → 1.0.8

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/README.md CHANGED
@@ -28,7 +28,7 @@ All previous versions will need to update their calls to follow the new schema
28
28
  Infusionsoft.data_load('Contact', contact_id, [:FirstName, :LastName])
29
29
 
30
30
  # Update a contact with specific field values
31
- Infusionsoft.contact_update(contact_id, { :FirstName => 'first_name', :Email => 'test@test.com' })
31
+ Infusionsoft.contact_upudate(contact_id, { :FirstName => 'first_name', :Email => 'test@test.com' })
32
32
 
33
33
  # Add a new Contact
34
34
  Infusionsoft.contact_add({:FirstName => 'first_name', :LastName => 'last_name', :Email => 'test@test.com'})
@@ -2,24 +2,24 @@ module Infusionsoft
2
2
  class Client
3
3
  module File
4
4
  def file_upload(contact_id, file_name, encoded_file_base64)
5
- response = get('FileService.uploadFile', contact_id, file_name, encoded_file_base64)
5
+ response = get('FileService', 'uploadFile', contact_id, file_name, encoded_file_base64)
6
6
  end
7
7
 
8
8
  # returns the Base64 encoded file contents
9
9
  def file_get(id)
10
- response = get('FileService.getFile', id)
10
+ response = get('FileService', 'getFile', id)
11
11
  end
12
12
 
13
13
  def file_url(id)
14
- response = get('FileService.getDownloadUrl', id)
14
+ response = get('FileService', 'getDownloadUrl', id)
15
15
  end
16
16
 
17
17
  def file_rename(id, new_name)
18
- response = get('FileService.renameFile', id, new_name)
18
+ response = get('FileService', 'renameFile', id, new_name)
19
19
  end
20
20
 
21
21
  def file_replace(id, encoded_file_base64)
22
- response = get('FileService.replaceFile', id, encoded_file_base64)
22
+ response = get('FileService', 'replaceFile', id, encoded_file_base64)
23
23
  end
24
24
  end
25
25
  end
@@ -4,13 +4,13 @@ module Infusionsoft
4
4
  # add move notes to existing tickets
5
5
  def ticket_add_move_notes(ticket_list, move_notes,
6
6
  move_to_stage_id, notify_ids)
7
- response = get('ServiceCallService.addMoveNotes', ticket_list,
7
+ response = get('ServiceCallService', 'addMoveNotes', ticket_list,
8
8
  move_notes, move_to_stage_id, notify_ids)
9
9
  end
10
10
 
11
11
  # add move notes to existing tickets
12
12
  def ticket_move_stage(ticket_id, ticket_stage, move_notes, notify_ids)
13
- response = get('ServiceCallService.moveTicketStage',
13
+ response = get('ServiceCallService', 'moveTicketStage',
14
14
  ticket_id, ticket_stage, move_notes, notify_ids)
15
15
  end
16
16
  end
@@ -1,4 +1,4 @@
1
1
  module Infusionsoft
2
2
  # The version of the gem
3
- VERSION = '1.0.8b'.freeze unless defined?(::Infusionsoft::VERSION)
3
+ VERSION = '1.0.8'.freeze unless defined?(::Infusionsoft::VERSION)
4
4
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infusionsoft
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
5
- prerelease: 5
4
+ hash: 7
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
9
  - 8
10
- - b
11
- version: 1.0.8b
10
+ version: 1.0.8
12
11
  platform: ruby
13
12
  authors:
14
13
  - Nathan Leavitt
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2012-04-04 00:00:00 -07:00
18
+ date: 2011-11-28 00:00:00 -07:00
20
19
  default_executable:
21
20
  dependencies: []
22
21
 
@@ -72,18 +71,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
72
71
  required_rubygems_version: !ruby/object:Gem::Requirement
73
72
  none: false
74
73
  requirements:
75
- - - ">"
74
+ - - ">="
76
75
  - !ruby/object:Gem::Version
77
- hash: 25
76
+ hash: 23
78
77
  segments:
79
78
  - 1
80
79
  - 3
81
- - 1
82
- version: 1.3.1
80
+ - 6
81
+ version: 1.3.6
83
82
  requirements: []
84
83
 
85
84
  rubyforge_project:
86
- rubygems_version: 1.6.2
85
+ rubygems_version: 1.5.0
87
86
  signing_key:
88
87
  specification_version: 3
89
88
  summary: Ruby wrapper for the Infusionsoft API