Module: RemoteRecord::Reference

Extended by:
ActiveSupport::Concern
Defined in:
lib/remote_record/reference.rb

Overview

Core structure of a reference. A reference populates itself with all the data for a remote record using behavior defined by its associated remote record class (a descendant of RemoteRecord::Base). This is done on initialize by calling #get on an instance of the remote record class. These attributes are then accessible on the reference thanks to #method_missing.