Method: Auctify::MinimalBidsLadderType#deserialize
- Defined in:
- app/types/auctify/minimal_bids_ladder_type.rb
#deserialize(db_value) ⇒ Object
getter, from db data to ruby raw object
31 32 33 34 35 |
# File 'app/types/auctify/minimal_bids_ladder_type.rb', line 31 def deserialize(db_value) # getter, from db data to ruby raw object return {} if db_value.blank? cast(ActiveSupport::JSON.decode(db_value)) end |