Class: SalesforceConnector::Opportunity
- Inherits:
-
OauthObject
- Object
- OauthObject
- SalesforceConnector::Opportunity
- Defined in:
- lib/salesforce_connector/opportunity.rb
Class Method Summary collapse
Methods inherited from OauthObject
find, query, root_url, set_headers
Class Method Details
.get_all_by_last_name(last_name) ⇒ Object
8 9 10 |
# File 'lib/salesforce_connector/opportunity.rb', line 8 def self.get_all_by_last_name(last_name) #TODO end |
.get_first_hundred ⇒ Object
4 5 6 |
# File 'lib/salesforce_connector/opportunity.rb', line 4 def self.get_first_hundred Opportunity.query('SELECT Name, Id from Opportunity LIMIT 100') end |