Module: Rack::Casual

Defined in:
lib/rack/casual.rb,
lib/rack/casual/client.rb,
lib/rack/casual/controller.rb,
lib/rack/casual/user_factory.rb,
lib/rack/casual/authentication.rb

Defined Under Namespace

Modules: Controller Classes: Authentication, Client, UserFactory

Class Method Summary collapse

Class Method Details

.setup {|_self| ... } ⇒ Object

Setup Rack::Casual. Run rails generate rack_casual to create a fresh initializer with all configuration values.

Yields:

  • (_self)

Yield Parameters:

  • _self (Rack::Casual)

    the object that the method was called on



53
54
55
# File 'lib/rack/casual.rb', line 53

def self.setup
  yield self
end