EvoBal/app/services/email_operation/base.rb

23 lines
280 B
Ruby
Raw Normal View History

2021-01-20 13:46:11 +01:00
# frozen_string_literal: true
module EmailOperation
2021-01-20 13:46:11 +01:00
class Error < ::StandardError
end
class Base
attr_reader :operation
def initialize(operation:)
@operation = operation
end
2021-01-20 13:46:11 +01:00
def process(email)
fail NotImplementedError
end
2021-01-25 14:32:26 +01:00
2021-01-20 13:46:11 +01:00
end
end