Class: Restforce::DB::Associations::ForeignKey
- Defined in:
- lib/restforce/db/associations/foreign_key.rb
Overview
Restforce::DB::Associations::ForeignKey defines a relationship in which the Salesforce IDs for any associated record(s) are present on a foreign record type.
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#fields ⇒ Object
Public: Get a list of fields which should be included in the Salesforce record’s lookups for any mapping including this association.
Methods inherited from Base
#build, #initialize, #synced_for?
Constructor Details
This class inherits a constructor from Restforce::DB::Associations::Base
Instance Method Details
#fields ⇒ Object
Public: Get a list of fields which should be included in the Salesforce record’s lookups for any mapping including this association.
Returns a list of Salesforce fields this record should return.
17 18 19 |
# File 'lib/restforce/db/associations/foreign_key.rb', line 17 def fields [] end |