leads_to_highrise 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/controllers/leads_controller.rb +12 -12
- data/lib/leads_to_highrise/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NzQwNGQ1YjMyNTQyMjlkMzM5YTFmZjI2ZTUwMzE2MTMwZjMxYjUyNw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTkwMDYyNGZiNGYwYWViNDI2MzJhNzY4NzIyMDA0ZDRjYTU4YjVmMw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MmNmZjAzODIwMDI3YmQ0MjkyMWRmNzY2MDUwMDdlOTNkZjJjZWY4NDUyM2Jl
|
10
|
+
NDRjYzI5MWZiZmQwOTMyNmNkNTBkY2RjNGNlMzlmYzU4OTQ3YmQwNWQ0OWRh
|
11
|
+
MGU2ODU5ZjQ5ZDEyY2MwNjY3NzA2NjUzMjE5MjI1YTY1MTlhMjc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NWJmODRhZjEzMTM0Njk5YTZmNzljMjZiMDg2ZjkzOWI1MmEyZTNkNjAwMmZj
|
14
|
+
YTVmYTc4MDQ0YWQ1YWZmODJjZWJmNWJiZWI1MGViZThlNTIxMTUwZjMyOGZj
|
15
|
+
M2IwMjQyYmUyNWM3NDFlNjhmNWJmMjM4YjkwNDkyNWUxMmQyN2U=
|
@@ -53,18 +53,18 @@ class LeadsController < ApplicationController
|
|
53
53
|
private
|
54
54
|
def add_person(lead)
|
55
55
|
|
56
|
-
Highrise::Base.site = current_user.highrise_site
|
57
|
-
Highrise::Base.user = current_user.highrise_user
|
58
|
-
Highrise::Base.format = :xml
|
59
|
-
|
60
|
-
p = Highrise::Person.new( first_name: 'lead[:name]',
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
p.save
|
56
|
+
#Highrise::Base.site = current_user.highrise_site
|
57
|
+
#Highrise::Base.user = current_user.highrise_user
|
58
|
+
#Highrise::Base.format = :xml
|
59
|
+
|
60
|
+
#p = Highrise::Person.new( first_name: 'lead[:name]',
|
61
|
+
# last_name: 'lead[:last_name]',
|
62
|
+
# title: 'lead[:job_title]',
|
63
|
+
# company_name: 'lead[:company]',
|
64
|
+
# contact_data: { email_addresses: [ { address: 'lead[:emial]'} ],
|
65
|
+
# phone: 'lead[:phone]',
|
66
|
+
# website: 'lead[:website]' })
|
67
|
+
#p.save
|
68
68
|
#if p.save
|
69
69
|
# redirect_to '/', notice: 'The contact has been sended to highrise'
|
70
70
|
|