Class: Restforce::DB::Associations::ForeignKey

Inherits:
Base
  • Object
show all
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.

Direct Known Subclasses

HasMany, HasOne

Instance Attribute Summary

Attributes inherited from Base

#cache, #lookup, #name

Instance Method Summary collapse

Methods inherited from Base

#build, #initialize, #synced_for?

Constructor Details

This class inherits a constructor from Restforce::DB::Associations::Base

Instance Method Details

#fieldsObject

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