Method: Hanami::Model::Configuration#define_mappings
- Defined in:
- lib/hanami/model/configuration.rb
#define_mappings(root, &blk) ⇒ 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.
96 97 98 |
# File 'lib/hanami/model/configuration.rb', line 96 def define_mappings(root, &blk) @mappings[root] = Mapping.new(&blk) end |