Skip to content

Commit

Permalink
Merge pull request #277 from ioki-mobility/feature/line-stop-matching…
Browse files Browse the repository at this point in the history
…-mode

Add matching modes to line stops
  • Loading branch information
phylor authored Sep 25, 2023
2 parents a74c507 + 2ad6514 commit 5ce7789
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ioki/model/operator/line_stop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ class LineStop < Base
attribute :updated_at, on: :read, type: :date_time
attribute :tier, on: [:read, :create, :update], type: :integer
attribute :relative_time, on: [:read, :create, :update], type: :integer
attribute :dropoff_mode, on: [:read, :create, :update], type: :string
attribute :pickup_mode, on: [:read, :create, :update], type: :string
attribute :supports_pickup, on: [:read, :create, :update], type: :boolean
attribute :supports_dropoff, on: [:read, :create, :update], type: :boolean
attribute :supports_pass_through, on: [:read, :create, :update], type: :boolean
Expand Down
2 changes: 2 additions & 0 deletions lib/ioki/model/platform/line_stop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ class LineStop < Base
attribute :updated_at, on: :read, type: :date_time
attribute :tier, on: [:read, :create, :update], type: :integer
attribute :relative_time, on: [:read, :create, :update], type: :integer
attribute :dropoff_mode, on: [:read, :create, :update], type: :string
attribute :pickup_mode, on: [:read, :create, :update], type: :string
attribute :supports_pickup, on: [:read, :create, :update], type: :boolean
attribute :supports_dropoff, on: [:read, :create, :update], type: :boolean
attribute :supports_pass_through, on: [:read, :create, :update], type: :boolean
Expand Down

0 comments on commit 5ce7789

Please sign in to comment.