module Ralyxa

Handler Base Class. Each Intent Handler inherits from this, and overwrites the handle method.

Routes an incoming request to the correct Handler.

Constants

VERSION

Attributes

configuration[RW]

Public Class Methods

configure() { |configuration| ... } click to toggle source
# File lib/ralyxa.rb, line 10
def configure
  yield configuration if block_given?
end
method_missing(m, *args, &block) click to toggle source
Calls superclass method
# File lib/ralyxa.rb, line 14
def method_missing(m, *args, &block)
  if configuration.respond_to?(m)
    configuration.send(m, *args, &block)
  else
    super
  end
end
respond_to_missing?(m, include_private = false) click to toggle source
Calls superclass method
# File lib/ralyxa.rb, line 22
def respond_to_missing?(m, include_private = false)
  configuration.respond_to?(m) || super
end

Private Class Methods

setup_configuration() click to toggle source
# File lib/ralyxa.rb, line 28
def setup_configuration
  @configuration = Ralyxa::Configuration.new
end