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