Module: SoqlGlobalData
- Included in:
- Salesforce, SoqlData
- Defined in:
- lib/leap_salesforce/soql_data/soql_global_data.rb
Overview
Global Methods to interact with Soql Data
Instance Attribute Summary collapse
-
#ids_to_delete ⇒ Object
Returns the value of attribute ids_to_delete.
Instance Method Summary collapse
-
#global_describe ⇒ Exchange
Describe all salesforce objects (this returns BIG response) See developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_describeGlobal.htm for reference.
-
#limits ⇒ Exchange
Return limits of Salesforce org.
Instance Attribute Details
#ids_to_delete ⇒ Object
Returns the value of attribute ids_to_delete.
5 6 7 |
# File 'lib/leap_salesforce/soql_data/soql_global_data.rb', line 5 def ids_to_delete @ids_to_delete end |
Instance Method Details
#global_describe ⇒ Exchange
Describe all salesforce objects (this returns BIG response) See developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_describeGlobal.htm for reference
25 26 27 |
# File 'lib/leap_salesforce/soql_data/soql_global_data.rb', line 25 def global_describe @global_describe ||= SoqlData.new('Global describe of sobjects', method: :get, suburl: 'sobjects/') end |
#limits ⇒ Exchange
Return limits of Salesforce org. developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_limits.htm
11 12 13 |
# File 'lib/leap_salesforce/soql_data/soql_global_data.rb', line 11 def limits @limits ||= SoqlData.new("#{self} limits", method: :get, suburl: 'limits/') end |