lib/openactive/models/schema/music_group.rb in openactive-0.3.0 vs lib/openactive/models/schema/music_group.rb in openactive-0.4.0
- old
+ new
@@ -12,10 +12,23 @@
define_property :tracks, as: "tracks", types: [
"OpenActive::Models::Schema::MusicRecording",
"URI",
]
+ # @return [OpenActive::Models::Schema::MusicRecording,OpenActive::Models::Schema::ItemList,URI]
+ define_property :track, as: "track", types: [
+ "OpenActive::Models::Schema::MusicRecording",
+ "OpenActive::Models::Schema::ItemList",
+ "URI",
+ ]
+
+ # @return [OpenActive::Models::Schema::MusicAlbum,URI]
+ define_property :album, as: "album", types: [
+ "OpenActive::Models::Schema::MusicAlbum",
+ "URI",
+ ]
+
# @return [URI,String]
define_property :genre, as: "genre", types: [
"URI",
"string",
]
@@ -26,22 +39,9 @@
"URI",
]
# @return [OpenActive::Models::Schema::MusicAlbum,URI]
define_property :albums, as: "albums", types: [
- "OpenActive::Models::Schema::MusicAlbum",
- "URI",
- ]
-
- # @return [OpenActive::Models::Schema::ItemList,OpenActive::Models::Schema::MusicRecording,URI]
- define_property :track, as: "track", types: [
- "OpenActive::Models::Schema::ItemList",
- "OpenActive::Models::Schema::MusicRecording",
- "URI",
- ]
-
- # @return [OpenActive::Models::Schema::MusicAlbum,URI]
- define_property :album, as: "album", types: [
"OpenActive::Models::Schema::MusicAlbum",
"URI",
]
end
end