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/body_parser.rb,
lib/request_handler/page_parser.rb,
lib/request_handler/sort_option.rb,
lib/request_handler/filter_parser.rb,
lib/request_handler/header_parser.rb,
lib/request_handler/option_parser.rb,
lib/request_handler/schema_parser.rb,
lib/request_handler/fieldsets_parser.rb,
lib/request_handler/sort_option_parser.rb,
lib/request_handler/include_option_parser.rb
Defined Under Namespace
Modules: Helper
Classes: Base, BaseError, BodyParser, ExternalArgumentError, ExternalBaseError, FieldsetsParser, FilterParser, HeaderParser, IncludeOptionParser, InternalArgumentError, InternalBaseError, MissingArgumentError, NoConfigAvailableError, OptionNotAllowedError, OptionParser, PageParser, SchemaParser, SchemaValidationError, SortOption, SortOptionParser
Constant Summary
collapse
- VERSION =
'0.9.1'
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
15
16
17
18
19
20
|
# File 'lib/request_handler.rb', line 15
def configuration
@configuration ||= ::Confstruct::Configuration.new do
logger Logger.new(STDOUT)
separator '__'
end
end
|
11
12
13
|
# File 'lib/request_handler.rb', line 11
def configure(&block)
configuration.configure(&block)
end
|
.separator ⇒ Object
22
23
24
|
# File 'lib/request_handler.rb', line 22
def separator
configuration.separator
end
|