Skip to content

Commit

Permalink
Merge pull request #217 from ioki-mobility/refine-place-model
Browse files Browse the repository at this point in the history
Operator Api | Add more attributes to Place model
  • Loading branch information
tom-ioki committed May 4, 2023
2 parents 443a385 + d5704ef commit 0bc94c5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/ioki/model/operator/place.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ class Place < Base
on: [:read, :create, :update],
type: :string

attribute :depot,
on: [:read, :create, :update],
type: :boolean

attribute :description,
on: [:create, :read, :update],
omit_if_nil_on: [:create, :update],
Expand Down Expand Up @@ -69,6 +73,10 @@ class Place < Base
on: [:create, :read, :update],
type: :string

attribute :waiting_position,
on: [:read, :create, :update],
type: :boolean

attribute :version,
on: :read,
type: :integer
Expand Down

0 comments on commit 0bc94c5

Please sign in to comment.