Class: ROM::Factory::Attributes::Association::OneToOneThrough Private

Inherits:
ManyToMany
  • Object
show all
Defined in:
lib/rom/factory/attributes/association.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Constructor Details

This class inherits a constructor from ROM::Factory::Attributes::Association::Core

Instance Method Details

#result(structs) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



222
223
224
# File 'lib/rom/factory/attributes/association.rb', line 222

def result(structs)
  {name => structs[0]}
end