Class: ShopVariant
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- ShopVariant
- Defined in:
- app/models/shop_variant.rb
Instance Method Summary collapse
Instance Method Details
#options ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'app/models/shop_variant.rb', line 10 def = {} if self..present? = ActiveSupport::JSON.decode(self.) = Forms::Config.deep_symbolize_keys() end end |
#options=(options) ⇒ Object
19 20 21 |
# File 'app/models/shop_variant.rb', line 19 def () self. = ActiveSupport::JSON.encode() end |