Sha256: 49cb75912ec8fed3e1344194666a2418fa8ea1dfa177e1fd6a2845ca57e30c55

Contents?: true

Size: 194 Bytes

Versions: 1

Compression:

Stored size: 194 Bytes

Contents

# use a Service Objects architecture
class EmailEvents::Service
  def self.call(*args, &block)
    if block_given?
      new(*args).call(&block)
    else
      new(*args).call
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
email_events-1.0 lib/email_events/services/service.rb