Skip to content

Commit

Permalink
Add feeder specific attributes to Station model
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-ioki committed Jun 24, 2024
1 parent 7d890a6 commit 288760f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/ioki/model/operator/station.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ class Station < Base
on: [:read, :create, :update],
type: :string

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

attribute :external_id,
on: [:create, :read, :update],
omit_if_nil_on: [:create, :update],
Expand Down Expand Up @@ -96,6 +101,11 @@ class Station < Base
on: [:read, :create, :update],
type: :string

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

attribute :station_category_id,
on: [:create, :update, :read],
type: :string
Expand Down

0 comments on commit 288760f

Please sign in to comment.