Class: ActiveForce::Association::AbstractProjectionBuilder

Inherits:
Object
  • Object
show all
Defined in:
lib/active_force/association/eager_load_projection_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(association) ⇒ AbstractProjectionBuilder

Returns a new instance of AbstractProjectionBuilder.



28
29
30
# File 'lib/active_force/association/eager_load_projection_builder.rb', line 28

def initialize(association)
  @association = association
end

Instance Attribute Details

#associationObject (readonly)

Returns the value of attribute association.



26
27
28
# File 'lib/active_force/association/eager_load_projection_builder.rb', line 26

def association
  @association
end

Instance Method Details

#projectionsObject



32
33
34
# File 'lib/active_force/association/eager_load_projection_builder.rb', line 32

def projections
  raise "Must define #{self.class.name}#projections"
end