Class: SkuMasterView
- Inherits:
-
ApplicationRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- SkuMasterView
- Defined in:
- app/models/sku_master_view.rb
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
7 8 9 |
# File 'app/models/sku_master_view.rb', line 7 def type_description I18n.locale == :fr ? description_french : attributes['description_english'] end |