Module: Slackify

Defined in:
lib/slackify.rb,
lib/slackify/engine.rb,
lib/slackify/router.rb,
lib/slackify/handlers.rb,
lib/slackify/parameter.rb,
lib/slackify/exceptions.rb,
lib/slackify/configuration.rb,
lib/slackify/handlers/base.rb,
lib/slackify/handlers/factory.rb,
lib/slackify/handlers/validator.rb,
lib/slackify/handlers/unhandled_handler.rb,
app/controllers/slackify/slack_controller.rb

Defined Under Namespace

Modules: Exceptions, Handlers Classes: Configuration, Engine, Parameter, Router, SlackController

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject



14
15
16
# File 'lib/slackify.rb', line 14

def configuration
  @configuration ||= Configuration.new
end

Class Method Details

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

Yields:



22
23
24
# File 'lib/slackify.rb', line 22

def configure
  yield(configuration)
end

.resetObject



18
19
20
# File 'lib/slackify.rb', line 18

def reset
  @configuration = Configuration.new
end