Class: ActiveForce::Association::BelongsToAssociation

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

Instance Attribute Summary

Attributes inherited from Association

#options, #relation_name

Instance Method Summary collapse

Methods inherited from Association

#foreign_key, #initialize, #load_target, #relation_model, #represents_sfdc_table?, #scoped?, #scoped_as, #sfdc_association_field

Constructor Details

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

Instance Method Details

#relationship_nameObject



4
5
6
# File 'lib/active_force/association/belongs_to_association.rb', line 4

def relationship_name
  options[:relationship_name] || default_relationship_name
end