From 7afcba38bdf7b67c6bc58a36565a1453c329b639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serge=20H=C3=A4nni?= Date: Mon, 9 Feb 2026 16:04:34 +0100 Subject: [PATCH] Add `formatted_address` to operator API --- lib/ioki/model/operator/calculated_point.rb | 5 +++++ lib/ioki/model/operator/public_transport_stop.rb | 4 ++++ lib/ioki/model/operator/requested_point.rb | 5 +++++ 3 files changed, 14 insertions(+) diff --git a/lib/ioki/model/operator/calculated_point.rb b/lib/ioki/model/operator/calculated_point.rb index 842cac89..64a48d16 100644 --- a/lib/ioki/model/operator/calculated_point.rb +++ b/lib/ioki/model/operator/calculated_point.rb @@ -45,6 +45,11 @@ class CalculatedPoint < Base type: :boolean attribute :formatted_street, + on: :read, + type: :string, + deprecated: true + + attribute :formatted_address, on: :read, type: :string diff --git a/lib/ioki/model/operator/public_transport_stop.rb b/lib/ioki/model/operator/public_transport_stop.rb index addee8a7..77c96baf 100644 --- a/lib/ioki/model/operator/public_transport_stop.rb +++ b/lib/ioki/model/operator/public_transport_stop.rb @@ -79,6 +79,10 @@ class PublicTransportStop < Base attribute :street_number, type: :string, on: :read + + attribute :formatted_address, + on: :read, + type: :string end end end diff --git a/lib/ioki/model/operator/requested_point.rb b/lib/ioki/model/operator/requested_point.rb index 7c58485e..d35273fd 100644 --- a/lib/ioki/model/operator/requested_point.rb +++ b/lib/ioki/model/operator/requested_point.rb @@ -37,6 +37,11 @@ class RequestedPoint < Base type: :array attribute :formatted_street, + on: :read, + type: :string, + deprecated: true + + attribute :formatted_address, on: :read, type: :string