Module: Bushido

Defined in:
lib/bushido.rb,
lib/bushido/app.rb,
lib/bushido/bar.rb,
lib/bushido/base.rb,
lib/bushido/data.rb,
lib/bushido/envs.rb,
lib/bushido/smtp.rb,
lib/bushido/user.rb,
lib/bushido/event.rb,
lib/bushido/utils.rb,
lib/bushido/config.rb,
lib/bushido/engine.rb,
lib/bushido/models.rb,
lib/bushido/schema.rb,
lib/bushido/command.rb,
lib/bushido/version.rb,
lib/bushido/platform.rb,
lib/bushido/mail_route.rb,
lib/bushido/middleware.rb,
lib/bushido/orm/mongoid.rb,
lib/bushido/user_helper.rb,
lib/bushido/event_observer.rb,
lib/bushido/orm/active_record.rb,
lib/generators/bushido/orm_helpers.rb,
lib/generators/bushido/hooks_generator.rb,
app/controllers/bushido/data_controller.rb,
app/controllers/bushido/envs_controller.rb,
app/controllers/bushido/mail_controller.rb,
lib/generators/bushido/routes_generator.rb,
lib/generators/bushido/bushido_generator.rb,
lib/generators/bushido/install_generator.rb,
lib/generators/bushido/mail_routes_generator.rb,
lib/generators/bushido/auth_migration_generator.rb

Overview

require ‘active_support/secure_random’

Defined Under Namespace

Modules: Generators, Models, Orm, Schema, UserHelper Classes: App, Bar, Base, Command, Config, Data, DataController, Engine, Envs, EnvsController, Event, EventObserver, MailController, Mailroute, Middleware, Platform, SMTP, User, Utils

Constant Summary collapse

VERSION =

Current version of the Bushido gem

"0.0.36"

Class Method Summary collapse

Class Method Details

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

Default way to setup Bushido. Run rails generate bushido_install to create a fresh initializer with all configuration values.

Yields:

  • (_self)

Yield Parameters:

  • _self (Bushido)

    the object that the method was called on



50
51
52
# File 'lib/bushido.rb', line 50

def self.setup
  yield self
end