Class: StoreModel::Types::Base
- Inherits:
-
ActiveModel::Type::Value
- Object
- ActiveModel::Type::Value
- StoreModel::Types::Base
- Defined in:
- lib/store_model/types/base.rb
Overview
Base type for StoreModel::Model
Instance Attribute Summary collapse
-
#model_klass ⇒ Object
readonly
Returns the value of attribute model_klass.
Instance Method Summary collapse
-
#type ⇒ Symbol
Returns type.
Instance Attribute Details
#model_klass ⇒ Object (readonly)
Returns the value of attribute model_klass.
9 10 11 |
# File 'lib/store_model/types/base.rb', line 9 def model_klass @model_klass end |
Instance Method Details
#type ⇒ Symbol
Returns type
14 15 16 |
# File 'lib/store_model/types/base.rb', line 14 def type raise NotImplementedError end |