salesforce_connector 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,11 @@ module SalesforceConnector
|
|
2
2
|
|
3
3
|
class Contact < OauthObject
|
4
4
|
def self.get_first_hundred
|
5
|
-
Contact.query('SELECT Name, Id, Email from Contact LIMIT 100')
|
5
|
+
Contact.query('SELECT Name, Id, Email, Satisfaction__c from Contact LIMIT 100')
|
6
|
+
end
|
7
|
+
|
8
|
+
def self.set_satisfaction(id,value)
|
9
|
+
Contact.query("update Contact set satisfaction__c='#{value}' where Id='#{id}'")
|
6
10
|
end
|
7
11
|
|
8
12
|
def self.get_all_by_last_name(last_name)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: salesforce_connector
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2011-10-02 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: omniauth
|
16
|
-
requirement: &
|
16
|
+
requirement: &2152298780 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.2.4
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2152298780
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: httparty
|
27
|
-
requirement: &
|
27
|
+
requirement: &2152298320 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 0.7.7
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2152298320
|
36
36
|
description: Use Omniauth OAuth authentification strategy and REST API with httparty
|
37
37
|
email:
|
38
38
|
- vzmind@gmail.com
|