Structure updates

This commit is contained in:
2019-01-31 10:44:06 -05:00
parent f879279a0a
commit da2ba6230d
11 changed files with 104 additions and 110 deletions
+3 -3
View File
@@ -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