Sha256: 8d3d3c662fab21d3c52c07714a304351cb79dc3e681fe0983e9c3add0f53f3ea

Contents?: true

Size: 227 Bytes

Versions: 17

Compression:

Stored size: 227 Bytes

Contents

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

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
activeforce-5.0.0 lib/salesforce/attributes.rb
activeforce-1.10.5 lib/salesforce/attributes.rb
activeforce-1.10.4 lib/salesforce/attributes.rb
activeforce-4.0.0 lib/salesforce/attributes.rb
activeforce-1.10.3 lib/salesforce/attributes.rb
activeforce-3.1.0 lib/salesforce/attributes.rb
activeforce-1.10.2 lib/salesforce/attributes.rb
activeforce-3.0.0 lib/salesforce/attributes.rb
activeforce-2.1.1 lib/salesforce/attributes.rb
activeforce-1.10.1 lib/salesforce/attributes.rb
activeforce-2.1.0 lib/salesforce/attributes.rb
activeforce-1.10.0 lib/salesforce/attributes.rb
activeforce-2.0.1 lib/salesforce/attributes.rb
activeforce-2.0.0 lib/salesforce/attributes.rb
activeforce-1.9.1 lib/salesforce/attributes.rb
activeforce-1.9.0 lib/salesforce/attributes.rb
activeforce-1.8.0 lib/salesforce/attributes.rb