Add the ask command

This commit is contained in:
Stanko K.R.
2025-07-31 13:25:49 +02:00
parent 445ae632cc
commit 13eeb8574d
33 changed files with 969 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
class Command::Result::ShowModal
attr_reader :url, :turbo_frame
def initialize(url:, turbo_frame:)
@url = url
@turbo_frame = turbo_frame
end
def as_json
{ turbo_frame: turbo_frame, url: url }
end
end