Class: SkuMaster
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- SkuMaster
- Includes:
- SkuMasterProcedures
- Defined in:
- app/models/sku_master.rb
Constant Summary
Constants included from SkuMasterProcedures
Instance Method Summary collapse
Methods inherited from ApplicationRecord
define_decrypted_attribute, define_decrypted_attributes, #errors_in_bullet_points, primary_connection, special_connection
Instance Method Details
#type_description ⇒ Object
18 19 20 |
# File 'app/models/sku_master.rb', line 18 def type_description I18n.locale == :fr ? description_french : attributes['description_english'] end |