Module: Aitch

Extended by:
Forwardable
Defined in:
lib/aitch.rb,
lib/aitch/dsl.rb,
lib/aitch/uri.rb,
lib/aitch/utils.rb,
lib/aitch/errors.rb,
lib/aitch/request.rb,
lib/aitch/version.rb,
lib/aitch/location.rb,
lib/aitch/redirect.rb,
lib/aitch/response.rb,
lib/aitch/namespace.rb,
lib/aitch/engines/json.rb,
lib/aitch/configuration.rb,
lib/aitch/response/body.rb,
lib/aitch/response/errors.rb,
lib/aitch/response_parser.rb,
lib/aitch/response/description.rb,
lib/aitch/response_parser/xml_parser.rb,
lib/aitch/response_parser/html_parser.rb,
lib/aitch/response_parser/json_parser.rb,
lib/aitch/response_parser/default_parser.rb

Defined Under Namespace

Modules: Engines, ResponseParser, Utils Classes: Configuration, DSL, Location, Namespace, Redirect, Request, Response, URI

Constant Summary collapse

InvalidURIError =
Class.new(StandardError)
InvalidHTTPMethodError =
Class.new(StandardError)
RequestTimeoutError =
Class.new(StandardError)
TooManyRedirectsError =
Class.new(StandardError)
StatusCodeError =
Class.new(StandardError)
ResponseError =
Class.new(StandardError)
BadRequestError =
Class.new(ResponseError)
UnauthorizedError =
Class.new(ResponseError)
PaymentRequiredError =
Class.new(ResponseError)
ForbiddenError =
Class.new(ResponseError)
NotFoundError =
Class.new(ResponseError)
MethodNotAllowedError =
Class.new(ResponseError)
NotAcceptableError =
Class.new(ResponseError)
ProxyAuthenticationRequiredError =
Class.new(ResponseError)
RequestTimeOutError =
Class.new(ResponseError)
ConflictError =
Class.new(ResponseError)
GoneError =
Class.new(ResponseError)
LengthRequiredError =
Class.new(ResponseError)
PreconditionFailedError =
Class.new(ResponseError)
RequestEntityTooLargeError =
Class.new(ResponseError)
RequestURITooLongError =
Class.new(ResponseError)
UnsupportedMediaTypeError =
Class.new(ResponseError)
RequestedRangeNotSatisfiableError =
Class.new(ResponseError)
ExpectationFailedError =
Class.new(ResponseError)
UnprocessableEntityError =
Class.new(ResponseError)
LockedError =
Class.new(ResponseError)
FailedDependencyError =
Class.new(ResponseError)
UpgradeRequiredError =
Class.new(ResponseError)
PreconditionRequiredError =
Class.new(ResponseError)
TooManyRequestsError =
Class.new(ResponseError)
RequestHeaderFieldsTooLargeError =
Class.new(ResponseError)
InternalServerErrorError =
Class.new(ResponseError)
NotImplementedError =
Class.new(ResponseError)
BadGatewayError =
Class.new(ResponseError)
ServiceUnavailableError =
Class.new(ResponseError)
GatewayTimeOutError =
Class.new(ResponseError)
VersionNotSupportedError =
Class.new(ResponseError)
InsufficientStorageError =
Class.new(ResponseError)
NetworkAuthenticationRequiredError =
Class.new(ResponseError)
VERSION =
"1.2.0"

Class Method Summary collapse

Class Method Details

.namespaceObject



55
56
57
# File 'lib/aitch.rb', line 55

def self.namespace
  @namespace ||= Namespace.new
end