class SoqlHandler
Handles basic Soql interactions. These are done through classes that are tied to this handler, i.e, the SoqlData
class. This is a service that handles all interactions with the API Credentials are stored either in 'config/credentials' folder or via environment variables To check out SOQL SCHEMA go to workbench.developerforce.com. Use Sandbox and login
Attributes
api_version[RW]
@return [String] Version of Salesforce
API to use
Public Class Methods
instance_url()
click to toggle source
@return [String] The current Salesforce
instance URL obtained from oauth call
# File lib/leap_salesforce/soql_data/soql_handler.rb, line 41 def instance_url new.instance_url # Instance url is defined through oauth2_file method end
Public Instance Methods
access_token()
click to toggle source
@return [String] Access token taken from sfdx
# File lib/leap_salesforce/soql_data/soql_handler.rb, line 18 def access_token LeapSalesforce::Auth.access_token end
api_version()
click to toggle source
@return [String] Version of Salesforce
API to use
# File lib/leap_salesforce/soql_data/soql_handler.rb, line 50 def api_version SoqlHandler.api_version end
instance_url()
click to toggle source
@return [String] Instance Url taken from sfdx
# File lib/leap_salesforce/soql_data/soql_handler.rb, line 13 def instance_url LeapSalesforce::Auth.instance_url end