lib/openactive/models/schema/local_business.rb in openactive-0.1.2 vs lib/openactive/models/schema/local_business.rb in openactive-0.2.0
- old
+ new
@@ -1,9 +1,9 @@
module OpenActive
module Models
module Schema
- class LocalBusiness < ::OpenActive::Models::Schema::Place
+ class LocalBusiness < ::OpenActive::Models::Schema::Organization
# @!attribute type
# @return [String]
def type
"schema:LocalBusiness"
end
@@ -21,17 +21,18 @@
# @return [String]
define_property :payment_accepted, as: "paymentAccepted", types: [
"string",
]
- # @return [OpenActive::Models::Schema::Organization]
- define_property :branch_of, as: "branchOf", types: [
- "OpenActive::Models::Schema::Organization",
- ]
-
# @return [String]
define_property :price_range, as: "priceRange", types: [
"string",
+ ]
+
+ # @return [OpenActive::Models::Schema::Organization,URI]
+ define_property :branch_of, as: "branchOf", types: [
+ "OpenActive::Models::Schema::Organization",
+ "URI",
]
end
end
end
end