lib/salesforce/attributes.rb in activeforce-1.7.1 vs lib/salesforce/attributes.rb in activeforce-1.8.0

- old
+ new

@@ -1,13 +1,11 @@ module Salesforce module Attributes extend ActiveSupport::Concern - module InstanceMethods - def assign_attributes!(hash) - hash.each do |key, value| - send("#{key}=", value) if respond_to?("#{key}=") - end + def assign_attributes!(hash) + hash.each do |key, value| + send("#{key}=", value) if respond_to?("#{key}=") end end end end