Class: Synchronisable::DSL::Associations::BelongsTo
- Inherits:
-
Association
- Object
- Association
- Synchronisable::DSL::Associations::BelongsTo
- Defined in:
- lib/synchronisable/dsl/associations/belongs_to.rb
Overview
‘belongs_to` association builder.
Instance Attribute Summary
Attributes inherited from Association
#force_sync, #key, #model, #name, #required
Instance Method Summary collapse
Methods inherited from Association
create, #create, #initialize, #model_name
Constructor Details
This class inherits a constructor from Synchronisable::DSL::Associations::Association
Instance Method Details
#macro ⇒ Object
10 11 12 |
# File 'lib/synchronisable/dsl/associations/belongs_to.rb', line 10 def macro :belongs_to end |