module Restforce::Bulk::Attributes

Public Instance Methods

assign_attributes(value) click to toggle source
# File lib/restforce/bulk/attributes.rb, line 4
def assign_attributes(value)
  value.each do |attr, value|
    send("#{attr.to_s.underscore}=", value) if respond_to?("#{attr.to_s.underscore}=")
  end
end