Class: ActiveForce::Association::BuildFromArray

Inherits:
AbstractBuildFrom show all
Defined in:
lib/active_force/association/relation_model_builder.rb

Direct Known Subclasses

BuildFromRestforce_Collection

Instance Attribute Summary

Attributes inherited from AbstractBuildFrom

#association, #value

Instance Method Summary collapse

Methods inherited from AbstractBuildFrom

#initialize

Constructor Details

This class inherits a constructor from ActiveForce::Association::AbstractBuildFrom

Instance Method Details

#callObject



50
51
52
# File 'lib/active_force/association/relation_model_builder.rb', line 50

def call
  value.map { |mash| association.build mash }
end