Module: Keymail

Defined in:
lib/keymail.rb,
lib/keymail/engine.rb,
lib/keymail/version.rb,
app/models/keymail/token.rb,
app/mailers/keymail/auth_mailer.rb,
app/models/keymail/authentication.rb

Defined Under Namespace

Modules: Authentication Classes: AuthMailer, Configuration, Engine, Expired, Failure, Success, Token, TokenResponse

Constant Summary collapse

VERSION =
"0.3.1"

Class Method Summary collapse

Class Method Details

.configObject



16
17
18
# File 'lib/keymail/engine.rb', line 16

def self.config
  @config
end

.setup {|@config ||= Keymail::Configuration.new| ... } ⇒ Object

Yields:



12
13
14
# File 'lib/keymail/engine.rb', line 12

def self.setup(&block)
  yield @config ||= Keymail::Configuration.new
end