Module: MailChecker

Defined in:
lib/mail_checker.rb,
lib/mail_checker/mail.rb,
lib/mail_checker/helpers.rb,
lib/mail_checker/version.rb,
lib/mail_checker/matchers.rb,
lib/mail_checker/expectation.rb,
lib/mail_checker/configuration.rb,
lib/mail_checker/expectation_matcher.rb

Defined Under Namespace

Modules: Helpers, Matchers Classes: Configuration, Expectation, ExpectationMatcher, Mail

Constant Summary collapse

VERSION =
'0.0.2'

Class Method Summary collapse

Class Method Details

.clearObject



14
15
16
# File 'lib/mail_checker.rb', line 14

def self.clear
  Mail.destroy_all
end

.configure(&block) ⇒ Object



10
11
12
# File 'lib/mail_checker.rb', line 10

def self.configure(&block)
  Configuration.new(&block).configure
end