Structure updates
This commit is contained in:
@@ -3,10 +3,10 @@ class ProductCategory
|
||||
include ActiveModel::SerializerSupport
|
||||
|
||||
property :name
|
||||
property :position, type: Fixnum, default: 0
|
||||
property :position, type: Integer, default: 0
|
||||
property :full_day, type: :boolean, default: true
|
||||
property :start_from, type: Fixnum, default: 1320 # 22:00
|
||||
property :end_on, type: Fixnum, default: 1380 # 23:00
|
||||
property :start_from, type: Integer, default: 1320 # 22:00
|
||||
property :end_on, type: Integer, default: 1380 # 23:00
|
||||
property :active_on_sunday, type: :boolean, default: true
|
||||
property :active_on_monday, type: :boolean, default: true
|
||||
property :active_on_tuesday, type: :boolean, default: true
|
||||
|
||||
Reference in New Issue
Block a user