infusion 0.0.10 → 0.0.11

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.
Files changed (3) hide show
  1. data/README.md +13 -11
  2. data/lib/infusion/version.rb +1 -1
  3. metadata +2 -2
data/README.md CHANGED
@@ -28,48 +28,48 @@ Create a file in config/config.yml add the key and server
28
28
  And in your Rails Application, where you require your gem, you can add an initializer and configure like following:
29
29
 
30
30
 
31
- config/initializers/infusion.rb
31
+ config/initializers/infusion.rb
32
32
 
33
- require "infusion"
33
+ require "infusion"
34
34
 
35
- Infusion.file_path("#{Rails.root}/config/config.yml")
35
+ Infusion.file_path("#{Rails.root}/config/config.yml")
36
36
 
37
37
 
38
38
 
39
39
 
40
40
  Get a users first and last name using the DataService:
41
41
 
42
- Infusion.data_load('Contact', contact_id, [:FirstName, :LastName])
42
+ Infusion.data_load('Contact', contact_id, [:FirstName, :LastName])
43
43
 
44
44
  Update a contact with specific field values:
45
45
 
46
- Infusion.update(contact_id, { :FirstName => 'first_name', :Email => 'test@test.com' })
46
+ Infusion.update(contact_id, { :FirstName => 'first_name', :Email => 'test@test.com' })
47
47
 
48
48
  Add a new Contact:
49
49
 
50
- Infusion.add_contact({:FirstName => 'first_name', :LastName => 'last_name', :Email => 'test@test.com'})
50
+ Infusion.add_contact({:FirstName => 'first_name', :LastName => 'last_name', :Email => 'test@test.com'})
51
51
 
52
52
  Merge Contact:
53
53
 
54
- Infusion.merge(contact_id, merge_contact_id)
54
+ Infusion.merge(contact_id, merge_contact_id)
55
55
 
56
56
  Method for add contact to campaign:
57
57
 
58
- Infusion.campaign(contact_id, campaign_id)
58
+ Infusion.campaign(contact_id, campaign_id)
59
59
 
60
60
  Find by query this method is for to check subscription:
61
61
 
62
- fields = ["ProductId", "SubscriptionPlanId", "ItemName", "Qty"]
62
+ fields = ["ProductId", "SubscriptionPlanId", "ItemName", "Qty"]
63
63
 
64
64
  Order Details of user retrieve all items:
65
65
 
66
66
  query = {:OrderId => params[:orderId]}
67
67
 
68
- Infusion.query(query, fields)
68
+ Infusion.query(query, fields)
69
69
 
70
70
  Method to opt in email:
71
71
 
72
- Infusion.optin(email, message)
72
+ Infusion.optin(email, message)
73
73
 
74
74
 
75
75
  ## Contributing
@@ -79,3 +79,5 @@ Create a file in config/config.yml add the key and server
79
79
  3. Commit your changes (`git commit -am 'Add some feature'`)
80
80
  4. Push to the branch (`git push origin my-new-feature`)
81
81
  5. Create new Pull Request
82
+ 6. Complete wiki of infusion soft API methods http://help.infusionsoft.com/api-docs/affiliateservice
83
+ 7. Please report bugs.
@@ -1,3 +1,3 @@
1
1
  module Infusion
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: infusion
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
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-09-24 00:00:00.000000000 Z
12
+ date: 2013-10-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler