version is optional

This commit is contained in:
2026-05-07 22:31:37 +02:00
parent f5c736c55f
commit 2889fe47c7
+5 -1
View File
@@ -1 +1,5 @@
UpdateInput = Struct.new(:platform, :name, :version, keyword_init: true)
UpdateInput = Struct.new(:platform, :name, :version, keyword_init: true) do
def initialize(platform:, name:, version: nil)
super
end
end