ROM::Relation.struct_namespace

Parsed documentation:
View on GitHub
Get or set a namespace for auto-generated struct classes.
By default, new struct classes are created within ROM::Struct

 @example using custom namespace
   class Users < ROM::Relation[:sql]
     struct_namespace Entities
   end

   users.by_pk(1).one! # => #<Entities::User id=1 name="Jane Doe">

@overload struct_namespace
  @return [Module] Default struct namespace

@overload struct_namespace(namespace)
  @param [Module] namespace
Suggestions:
Please help! Open an issue on GitHub if this assessment is incorrect.