Module: Bushido

Defined in:
lib/bushido.rb,
lib/engine.rb,
lib/bushido/app.rb,
lib/bushido/data.rb,
lib/bushido/envs.rb,
lib/bushido/user.rb,
lib/bushido/event.rb,
lib/bushido/utils.rb,
lib/bushido/models.rb,
lib/bushido/schema.rb,
lib/bushido/command.rb,
lib/bushido/version.rb,
lib/bushido/platform.rb,
lib/bushido/middleware.rb,
lib/bushido/orm/mongoid.rb,
lib/bushido/orm/active_record.rb,
lib/generators/bushido/orm_helpers.rb,
app/controllers/bushido/data_controller.rb,
app/controllers/bushido/envs_controller.rb,
lib/generators/bushido/bushido_generator.rb,
lib/generators/bushido/install_generator.rb

Overview

require ‘active_support/secure_random’

Defined Under Namespace

Modules: Generators, Models, Orm, Schema Classes: App, Command, Data, DataController, Engine, Envs, EnvsController, Event, Middleware, Platform, User, Utils

Constant Summary collapse

VERSION =

Current version of the Bushido gem

"0.0.35"

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



28
29
30
# File 'lib/bushido.rb', line 28

def self.setup
  yield self
end