marketo 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/marketo/client.rb +7 -0
  2. metadata +4 -4
@@ -21,10 +21,17 @@ module Rapleaf
21
21
  #
22
22
  # client = Rapleaf::Marketo.new_client(<access_key>, <secret_key>)
23
23
  #
24
+ # get_lead_by_email:
25
+ #
24
26
  # lead_record = client.get_lead_by_email('sombody@examnple.com')
25
27
  # puts lead_record.idnum
26
28
  # puts lead_record.get_attribute('FirstName')
27
29
  # puts lead_record.get_attribute('LastName')
30
+ #
31
+ # sync_lead (update)
32
+ #
33
+ # lead_record = client.sync_lead('example@rapleaf.com', 'Joe', 'Smith', 'Company 1', '415 911')
34
+ # etc. . .
28
35
  class Client
29
36
  def initialize(savon_client, authentication_header)
30
37
  @client = savon_client
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marketo
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 27
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 3
10
- version: 1.1.3
9
+ - 4
10
+ version: 1.1.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - James O'Brien
@@ -50,7 +50,7 @@ dependencies:
50
50
  version: 0.8.3
51
51
  type: :runtime
52
52
  version_requirements: *id002
53
- description: Allows easy integration with marketo from ruby. You can synchronize leads and fetch them back by email.
53
+ description: " Allows easy integration with marketo from ruby. You can synchronize leads and fetch them back by email.\n\n based on the SOAP wsdl file: <i>http://app.marketo.com/soap/mktows/1_4?WSDL</i>\n \n Usage:\n \n client = Rapleaf::Marketo.new_client(<access_key>, <secret_key>)\n \n get_lead_by_email:\n \n lead_record = client.get_lead_by_email('sombody@examnple.com')\n puts lead_record.idnum\n puts lead_record.get_attribute('FirstName')\n puts lead_record.get_attribute('LastName')\n \n sync_lead (update)\n \n lead_record = client.sync_lead('example@rapleaf.com', 'Joe', 'Smith', 'Company 1', '415 911')\n etc. . .\n"
54
54
  email: james@rapleaf.com
55
55
  executables: []
56
56