Skip to content

Commit

Permalink
Add service_ends_at and service_starts_at to TaskList for platform
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-ioki committed May 15, 2024
1 parent baac4b4 commit ee01455
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ioki/model/platform/task_list.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class TaskList < Base
attribute :planned_starts_at, on: :read, type: :date_time
attribute :prebookable, on: [:read, :create], type: :boolean
attribute :product_id, on: :read, type: :string
attribute :service_ends_at, on: [:create, :read, :update], type: :date_time
attribute :service_starts_at, on: [:create, :read, :update], type: :date_time
attribute :starts_at, on: [:create, :update], type: :date_time, unvalidated: true
attribute :start_place, on: :read, type: :object, class_name: 'Place'
attribute :start_place_id, on: [:create, :update], type: :object, class_name: 'Place', unvalidated: true
Expand Down

0 comments on commit ee01455

Please sign in to comment.