Skip to content

Commit

Permalink
Merge pull request #400 from ioki-mobility/operator-api/vehicle-prebo…
Browse files Browse the repository at this point in the history
…okable_default_for_task_list

Operator API | Add `Vehicle#prebookable_default_for_task_list`
  • Loading branch information
phylor authored Jul 9, 2024
2 parents ec330b9 + b17ea41 commit 4c21f0e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/ioki/model/operator/vehicle.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ class Vehicle < Base
omit_if_nil_on: [:update],
type: :integer

attribute :prebookable_default_for_task_list,
on: [:create, :read, :update],
omit_if_nil_on: [:create, :update],
type: :boolean

deprecated_attribute :seats,
on: [:create, :read, :update],
omit_if_nil_on: [:create, :update],
Expand Down

0 comments on commit 4c21f0e

Please sign in to comment.