Sha256: a917842dc38463e95478e400a58efd8f75d8b841498d424411f0d585edbfab0e

Contents?: true

Size: 301 Bytes

Versions: 18

Compression:

Stored size: 301 Bytes

Contents

class BaseMailer
  def initialize(email = nil)
    @email = email
  end

  def mail(options = {})
    @email
  end

  def deliver!
  end

  def deliver
  end
end

class AutoMailer < BaseMailer
  include GhostInThePost::Automatic
end

class SomeMailer < BaseMailer
  include GhostInThePost::Mailer
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
ghost_in_the_post-0.1.4 spec/support/mailer_support.rb
ghost_in_the_post-0.1.3 spec/support/mailer_support.rb
ghost_in_the_post-0.1.2 spec/support/mailer_support.rb
ghost_in_the_post-0.1.0 spec/support/mailer_support.rb
ghost_in_the_post-0.0.14 spec/support/mailer_support.rb
ghost_in_the_post-0.0.13 spec/support/mailer_support.rb
ghost_in_the_post-0.0.12 spec/support/mailer_support.rb
ghost_in_the_post-0.0.11 spec/support/mailer_support.rb
ghost_in_the_post-0.0.10 spec/support/mailer_support.rb
ghost_in_the_post-0.0.9 spec/support/mailer_support.rb
ghost_in_the_post-0.0.8 spec/support/mailer_support.rb
ghost_in_the_post-0.0.7 spec/support/mailer_support.rb
ghost_in_the_post-0.0.6 spec/support/mailer_support.rb
ghost_in_the_post-0.0.5 spec/support/mailer_support.rb
ghost_in_the_post-0.0.4 spec/support/mailer_support.rb
ghost_in_the_post-0.0.3 spec/support/mailer_support.rb
ghost_in_the_post-0.0.2 spec/support/mailer_support.rb
ghost_in_the_post-0.0.1 spec/support/mailer_support.rb