vtiger 0.4.5 → 0.4.6
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/lib/vtiger/commands.rb +1 -0
- metadata +4 -4
data/lib/vtiger/commands.rb
CHANGED
@@ -113,6 +113,7 @@ module Vtiger
|
|
113
113
|
def query_element_by_email(email,element)
|
114
114
|
puts "in query element by email"
|
115
115
|
action_string=ERB::Util.url_encode("select id from #{element} where email like '#{email}';")
|
116
|
+
action_string=ERB::Util.url_encode("select id from #{element} where email1 like '#{email}';") if element=='Accounts'
|
116
117
|
# puts "action string:" +action_string
|
117
118
|
res = http_ask_get(self.endpoint_url+"operation=query&sessionName=#{self.session_name}&query="+action_string)
|
118
119
|
values=res["result"][0] if res["success"]==true #comes back as array
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vtiger
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 0.4.
|
9
|
+
- 6
|
10
|
+
version: 0.4.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Scott Sproule
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-07-
|
18
|
+
date: 2010-07-18 00:00:00 +08:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|