Module: ROM::Repository::RelationReader::InstanceMethods Private

Defined in:
lib/rom/repository/relation_reader.rb

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

Instance Method Summary collapse

Instance Method Details

#set_relation(name) ⇒ 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.



13
14
15
16
17
18
# File 'lib/rom/repository/relation_reader.rb', line 13

def set_relation(name)
  container.
    relations[name].
    with(auto_struct: auto_struct).
    struct_namespace(struct_namespace)
end