Sha256: 8e6b37a8d24ff9820c9be83caaa1f80bab2716ba3340275adb041e4000f52134

Contents?: true

Size: 272 Bytes

Versions: 4

Compression:

Stored size: 272 Bytes

Contents

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
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activeforce-1.7.1 lib/salesforce/attributes.rb
activeforce-1.7.0 lib/salesforce/attributes.rb
activeforce-1.6.0 lib/salesforce/attributes.rb
activeforce-1.5.0 lib/salesforce/attributes.rb