Top Level Namespace
Defined Under Namespace
Modules: DataRelationships, LeapSalesforce, Salesforce, SoqlEnum, SoqlGlobalData, SoqlGlobalObjectData, SoqlObjectDescribe, SoqlSettings Classes: MetaDataHandler, MockHandler, SoqlData, SoqlHandler, String, Time
Constant Summary collapse
- Leaps =
LeapSalesforce
- CREATE_APP_LINK =
Returns Tutorial on creating an sfdx app.
'https://trailhead.salesforce.com/content/learn/projects/automate-cicd-with-gitlab/enable-dev-hub-and-create-a-connected-app'
Instance Method Summary collapse
-
#load_variables_from(file) ⇒ Object
If variable is present within LeapSalesforce set it.
Instance Method Details
#load_variables_from(file) ⇒ Object
If variable is present within LeapSalesforce set it
26 27 28 29 30 31 32 33 34 35 36 37 38 |
# File 'lib/leap_salesforce.rb', line 26 def load_variables_from(file) YAML.load_file(file).each do |key, value| if respond_to? "#{key}=" if !send(key).nil? logger.info "Ignoring #{key} from #{file} as already set" else send("#{key}=", value) end else logger.info "LeapSalesforce ignoring unknown attribute '#{key}'" end end end |