lib/openactive/models/schema/local_business.rb in openactive-0.3.0 vs lib/openactive/models/schema/local_business.rb in openactive-0.4.0
- old
+ new
@@ -6,14 +6,13 @@
# @return [String]
def type
"schema:LocalBusiness"
end
- # @return [OpenActive::Models::Schema::Organization,URI]
- define_property :branch_of, as: "branchOf", types: [
- "OpenActive::Models::Schema::Organization",
- "URI",
+ # @return [String]
+ define_property :payment_accepted, as: "paymentAccepted", types: [
+ "string",
]
# @return [String]
define_property :opening_hours, as: "openingHours", types: [
"string",
@@ -23,16 +22,17 @@
define_property :price_range, as: "priceRange", types: [
"string",
]
# @return [String]
- define_property :payment_accepted, as: "paymentAccepted", types: [
+ define_property :currencies_accepted, as: "currenciesAccepted", types: [
"string",
]
- # @return [String]
- define_property :currencies_accepted, as: "currenciesAccepted", types: [
- "string",
+ # @return [OpenActive::Models::Schema::Organization,URI]
+ define_property :branch_of, as: "branchOf", types: [
+ "OpenActive::Models::Schema::Organization",
+ "URI",
]
end
end
end
end