Class: EmailEvents::Service

Inherits:
Object
  • Object
show all
Defined in:
lib/email_events/services/service.rb

Overview

use a Service Objects architecture

Defined Under Namespace

Classes: HandleEvent, ParseSmtpResponseForProviderId, RetrieveDataFromHeader, TrackDataInHeader

Class Method Summary collapse

Class Method Details

.call(*args, &block) ⇒ Object



3
4
5
6
7
8
9
# File 'lib/email_events/services/service.rb', line 3

def self.call(*args, &block)
  if block_given?
    new(*args).call(&block)
  else
    new(*args).call
  end
end