Skip to content

Commit

Permalink
Merge pull request #384 from ioki-mobility/add-matching-configuration…
Browse files Browse the repository at this point in the history
…-attributes

Operator Api | Add attributes to `MatchingConfiguration`
  • Loading branch information
tom-ioki committed May 16, 2024
2 parents 144757c + d223cb9 commit 33d6810
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/ioki/model/operator/matching_configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,16 @@ class MatchingConfiguration < Base
on: [:create, :read, :update],
type: :integer

attribute :max_walking_duration_dropoff,
on: [:create, :read, :update],
omit_if_nil_on: [:create, :update],
type: :integer

attribute :max_walking_duration_pickup,
on: [:create, :read, :update],
omit_if_nil_on: [:create, :update],
type: :integer

attribute :maximum_detour_duration,
on: [:create, :read, :update],
type: :integer
Expand Down

0 comments on commit 33d6810

Please sign in to comment.