From 66d7d0a2e2ac3f2a865889f0c5e0a01036cc7aaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serge=20H=C3=A4nni?= Date: Mon, 3 Aug 2026 16:57:33 +0200 Subject: [PATCH] Add `Ride#booked_solution` to passenger API --- lib/ioki/model/passenger/ride.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ioki/model/passenger/ride.rb b/lib/ioki/model/passenger/ride.rb index 3cadd9f6..1eed45d4 100644 --- a/lib/ioki/model/passenger/ride.rb +++ b/lib/ioki/model/passenger/ride.rb @@ -46,6 +46,7 @@ class Ride < Base attribute :version, type: :integer, on: [:read, :update] attribute :fare, on: :read, type: :object, class_name: 'Fare' attribute :ticket, on: :read, type: :object, class_name: 'Ticket' + attribute :booked_solution, on: :read, type: :object, class_name: 'OfferedSolution' attribute :offered_solutions, on: :read, type: :array, class_name: 'OfferedSolution' attribute :options, on: :create, type: :array, class_name: 'RideOption' attribute :passenger_note_to_driver, type: :string, on: [:read, :create, :update]