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?, #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
151 152 153 |
# File 'lib/rpc_mapper/association.rb', line 151 def collection? false end |
#type ⇒ Object
155 156 157 |
# File 'lib/rpc_mapper/association.rb', line 155 def type :has_one end |