Class: Yogo::Collection::Relationship::OneToOne
- Inherits:
-
Yogo::Collection::Relationship
- Object
- Property
- Yogo::Collection::Relationship
- Yogo::Collection::Relationship::OneToOne
- Defined in:
- lib/yogo/collection/property.rb
Constant Summary
Constants inherited from Property
Instance Method Summary collapse
Methods inherited from Yogo::Collection::Relationship
#as_json, #check_target, #model_method, #target_model
Methods inherited from Property
#as_json, #field_name, #model_method, #to_s, #update_attributes
Instance Method Details
#add_to_model(model) ⇒ Object
109 110 111 |
# File 'lib/yogo/collection/property.rb', line 109 def add_to_model(model) super(model, 1) end |