Use struct for allocations

This commit is contained in:
Omar Roth
2019-03-29 16:30:02 -05:00
parent 36c0eae7ed
commit 1b78001201
8 changed files with 17 additions and 17 deletions

View File

@@ -1,4 +1,4 @@
class SearchVideo
struct SearchVideo
add_mapping({
title: String,
id: String,
@@ -16,7 +16,7 @@ class SearchVideo
})
end
class SearchPlaylistVideo
struct SearchPlaylistVideo
add_mapping({
title: String,
id: String,
@@ -24,7 +24,7 @@ class SearchPlaylistVideo
})
end
class SearchPlaylist
struct SearchPlaylist
add_mapping({
title: String,
id: String,
@@ -36,7 +36,7 @@ class SearchPlaylist
})
end
class SearchChannel
struct SearchChannel
add_mapping({
author: String,
ucid: String,