Skip to content

Commit

Permalink
Refine CancellationStatement model
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-ioki committed Nov 1, 2024
1 parent 2265e74 commit a4a4c39
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lib/ioki/model/operator/cancellation_statement.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,12 @@ class CancellationStatement < Base
on: :read,
type: :string

attribute :titles,
on: :read,
type: :object

attribute :passenger_notification_translations,
on: [:create, :update],
on: [:create, :read, :update],
type: :object

attribute :title_translations,
on: [:create, :update],
on: [:create, :read, :update],
type: :object
end
end
Expand Down

0 comments on commit a4a4c39

Please sign in to comment.