Module: Invitation

Defined in:
lib/invitation.rb,
lib/invitation/user.rb,
lib/invitation/engine.rb,
lib/invitation/version.rb,
lib/invitation/invitable.rb,
lib/invitation/configuration.rb,
lib/invitation/user_registration.rb,
lib/generators/invitation/helpers.rb,
lib/generators/invitation/views/views_generator.rb,
lib/generators/invitation/routes/routes_generator.rb,
lib/generators/invitation/install/install_generator.rb,
lib/generators/invitation/controllers/controllers_generator.rb

Overview

deploy view and locale assets

Defined Under Namespace

Modules: Generators, Invitable, User, UserRegistration Classes: Configuration, Engine, InvitesController

Constant Summary collapse

VERSION =
'0.4.1'.freeze

Class Method Summary collapse

Class Method Details

.configurationObject


78
79
80
# File 'lib/invitation/configuration.rb', line 78

def self.configuration
  @configuration ||= Configuration.new
end

.configuration=(config) ⇒ Object


82
83
84
# File 'lib/invitation/configuration.rb', line 82

def self.configuration=(config)
  @configuration = config
end

.configure {|configuration| ... } ⇒ Object

Yields:


86
87
88
# File 'lib/invitation/configuration.rb', line 86

def self.configure
  yield configuration
end