Class: Synchronisable::DSL::Associations::HasOne
- Inherits:
-
Association
- Object
- Association
- Synchronisable::DSL::Associations::HasOne
- Defined in:
- lib/synchronisable/dsl/associations/has_one.rb
Overview
‘has_one` 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/has_one.rb', line 10 def macro :has_one end |