Module: Balaclava

Defined in:
lib/balaclava.rb,
lib/balaclava/version.rb,
lib/balaclava/authenticator.rb,
lib/generators/balaclava/install_generator.rb

Defined Under Namespace

Modules: Generators Classes: Authenticator

Constant Summary collapse

VERSION =
"1.3.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.user_modelObject

Returns the value of attribute user_model.



8
9
10
# File 'lib/balaclava.rb', line 8

def user_model
  @user_model
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Balaclava)

    the object that the method was called on



11
12
13
# File 'lib/balaclava.rb', line 11

def self.configure
  yield self
end