23 lines
280 B
Ruby
23 lines
280 B
Ruby
# frozen_string_literal: true
|
|
|
|
module EmailOperation
|
|
|
|
class Error < ::StandardError
|
|
end
|
|
|
|
class Base
|
|
|
|
attr_reader :operation
|
|
|
|
def initialize(operation:)
|
|
@operation = operation
|
|
end
|
|
|
|
def process(email)
|
|
fail NotImplementedError
|
|
end
|
|
|
|
end
|
|
|
|
end
|