lib/openactive/models/schema/transfer_action.rb in openactive-0.3.0 vs lib/openactive/models/schema/transfer_action.rb in openactive-0.4.0
- old
+ new
@@ -7,16 +7,16 @@
def type
"schema:TransferAction"
end
# @return [OpenActive::Models::Schema::Place,URI]
- define_property :from_location, as: "fromLocation", types: [
+ define_property :to_location, as: "toLocation", types: [
"OpenActive::Models::Schema::Place",
"URI",
]
# @return [OpenActive::Models::Schema::Place,URI]
- define_property :to_location, as: "toLocation", types: [
+ define_property :from_location, as: "fromLocation", types: [
"OpenActive::Models::Schema::Place",
"URI",
]
end
end