Initial commit
This commit is contained in:
12
app/action.rb
Normal file
12
app/action.rb
Normal file
@@ -0,0 +1,12 @@
|
||||
# auto_register: false
|
||||
# frozen_string_literal: true
|
||||
|
||||
require "hanami/action"
|
||||
require "dry/monads"
|
||||
|
||||
module ClashDeckGenerator2
|
||||
class Action < Hanami::Action
|
||||
# Provide `Success` and `Failure` for pattern matching on operation results
|
||||
include Dry::Monads[:result]
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user