Module: Mailinator

Defined in:
lib/mailinator.rb,
lib/mailinator/api.rb,
lib/mailinator/inbox.rb,
lib/mailinator/model.rb,
lib/mailinator/email.rb,
lib/mailinator/config.rb,
lib/mailinator/version.rb,
lib/mailinator/models/entry.rb,
lib/mailinator/models/inbox.rb,
lib/mailinator/models/email.rb

Defined Under Namespace

Modules: Models Classes: Api, Config, Email, Inbox, TokenError

Constant Summary collapse

VERSION =
'0.0.3'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject


19
20
21
# File 'lib/mailinator.rb', line 19

def config
  @config ||= Config.new
end

Class Method Details

.configure {|config| ... } ⇒ Object

Yields:


15
16
17
# File 'lib/mailinator.rb', line 15

def configure
  yield(config)
end