From d7bbcb859b408aa7022e41a87d6cdf8fb80196f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serge=20H=C3=A4nni?= Date: Tue, 11 Aug 2026 14:11:35 +0200 Subject: [PATCH] Remove obsolete attribute from passenger and platform API Breaking change: The API removes that attribute, so it will not be included in API responses anymore. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- lib/ioki/model/passenger/product.rb | 1 - lib/ioki/model/platform/product.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/ioki/model/passenger/product.rb b/lib/ioki/model/passenger/product.rb index 85aa1a10..ff71f529 100644 --- a/lib/ioki/model/passenger/product.rb +++ b/lib/ioki/model/passenger/product.rb @@ -20,7 +20,6 @@ class Product < Base attribute :description, on: :read, type: :string attribute :fixed_stations, on: :read, type: :array, class_name: 'Station' attribute :payment_method_allowed_on_booking, on: :read, type: :boolean - attribute :payment_method_required_on_booking, on: :read, type: :boolean attribute :personal_discount_types, on: :read, type: :array, class_name: 'PersonalDiscountType' attribute :phone_number, on: :read, type: :string attribute :prebookable, on: :read, type: :boolean diff --git a/lib/ioki/model/platform/product.rb b/lib/ioki/model/platform/product.rb index ee0efda6..73bb593a 100644 --- a/lib/ioki/model/platform/product.rb +++ b/lib/ioki/model/platform/product.rb @@ -19,7 +19,6 @@ class Product < Base attribute :help_url, on: :read, type: :string attribute :name, on: :read, type: :string attribute :payment_method_allowed_on_booking, on: :read, type: :boolean - attribute :payment_method_required_on_booking, on: :read, type: :boolean attribute :prebookable, on: :read, type: :boolean attribute :ride_options, on: :read, type: :object, class_name: 'RideOptions' attribute :ride_rating_criteria, on: :read, type: :array