Class: RPCMapper::Association::HasOne
- Defined in:
- lib/rpc_mapper/association.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Has
#foreign_key, #polymorphic?, #polymorphic_type, #scope
Methods inherited from Base
#eager_loadable?, #foreign_key, #initialize, #polymorphic?, #primary_key, #scope, #target_klass
Constructor Details
This class inherits a constructor from RPCMapper::Association::Base
Instance Method Details
#collection? ⇒ Boolean
230 231 232 |
# File 'lib/rpc_mapper/association.rb', line 230 def collection? false end |
#type ⇒ Object
234 235 236 |
# File 'lib/rpc_mapper/association.rb', line 234 def type :has_one end |