Class: Hanami::Model::Associations::BelongsTo Private
- Inherits:
-
Object
- Object
- Hanami::Model::Associations::BelongsTo
- Defined in:
- lib/hanami/model/associations/belongs_to.rb
Overview
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.
Many-To-One association
Class Method Summary collapse
- .schema_type(entity) ⇒ Object private
Class Method Details
.schema_type(entity) ⇒ 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 |
# File 'lib/hanami/model/associations/belongs_to.rb', line 13 def self.schema_type(entity) Sql::Types::Schema::AssociationType.new(entity) end |