Module: Salesforce::Attributes
- Extended by:
- ActiveSupport::Concern
- Included in:
- Bulk::Batch, Bulk::Job
- Defined in:
- lib/salesforce/attributes.rb
Instance Method Summary collapse
Instance Method Details
#assign_attributes!(hash) ⇒ Object
5 6 7 8 9 |
# File 'lib/salesforce/attributes.rb', line 5 def assign_attributes!(hash) hash.each do |key, value| send("#{key}=", value) if respond_to?("#{key}=") end end |