Module: RequestHandler

Defined in:
lib/request_handler.rb,
lib/request_handler/base.rb,
lib/request_handler/error.rb,
lib/request_handler/helper.rb,
lib/request_handler/version.rb,
lib/request_handler/sort_option.rb,
lib/request_handler/body_handler.rb,
lib/request_handler/page_handler.rb,
lib/request_handler/filter_handler.rb,
lib/request_handler/header_handler.rb,
lib/request_handler/option_handler.rb,
lib/request_handler/schema_handler.rb,
lib/request_handler/field_set_handler.rb,
lib/request_handler/sort_option_handler.rb,
lib/request_handler/include_option_handler.rb

Defined Under Namespace

Modules: Helper Classes: Base, BaseError, BodyHandler, ExternalArgumentError, ExternalBaseError, FieldSetHandler, FilterHandler, HeaderHandler, IncludeOptionHandler, InternalArgumentError, InternalBaseError, MissingArgumentError, NoConfigAvailableError, OptionHandler, OptionNotAllowedError, PageHandler, SchemaHandler, SchemaValidationError, SortOption, SortOptionHandler

Constant Summary collapse

VERSION =
'0.8.0'

Class Method Summary collapse

Class Method Details

.configurationObject



15
16
17
18
19
# File 'lib/request_handler.rb', line 15

def configuration
  @configuration ||= ::Confstruct::Configuration.new do
    logger Logger.new(STDOUT)
  end
end

.configure(&block) ⇒ Object



11
12
13
# File 'lib/request_handler.rb', line 11

def configure(&block)
  @configuration.configure(&block)
end