mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 18:19:52 +01:00
19 lines
No EOL
286 B
Ruby
19 lines
No EOL
286 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'dry-initializer'
|
|
require 'types'
|
|
require 'errors'
|
|
|
|
module UseCase
|
|
class Base
|
|
extend Dry::Initializer
|
|
|
|
def self.call(*args, **kwargs)
|
|
new(*args, **kwargs).call
|
|
end
|
|
|
|
def call
|
|
raise NotImplementedError
|
|
end
|
|
end
|
|
end |