lib/openactive/models/schema/postal_address.rb in openactive-0.1.2 vs lib/openactive/models/schema/postal_address.rb in openactive-0.2.0
- old
+ new
@@ -11,32 +11,33 @@
# @return [String]
define_property :address_locality, as: "addressLocality", types: [
"string",
]
- # @return [String]
- define_property :postal_code, as: "postalCode", types: [
+ # @return [String,OpenActive::Models::Schema::Country,URI]
+ define_property :address_country, as: "addressCountry", types: [
"string",
+ "OpenActive::Models::Schema::Country",
+ "URI",
]
# @return [String]
- define_property :address_region, as: "addressRegion", types: [
+ define_property :post_office_box_number, as: "postOfficeBoxNumber", types: [
"string",
]
- # @return [OpenActive::Models::Schema::Country,String]
- define_property :address_country, as: "addressCountry", types: [
- "OpenActive::Models::Schema::Country",
+ # @return [String]
+ define_property :street_address, as: "streetAddress", types: [
"string",
]
# @return [String]
- define_property :street_address, as: "streetAddress", types: [
+ define_property :address_region, as: "addressRegion", types: [
"string",
]
# @return [String]
- define_property :post_office_box_number, as: "postOfficeBoxNumber", types: [
+ define_property :postal_code, as: "postalCode", types: [
"string",
]
end
end
end