Class: Parse::Middleware::BodyBuilder
- Inherits:
- Faraday::Middleware
- Object
- Faraday::Middleware
- Parse::Middleware::BodyBuilder
- Includes:
- Protocol
- Defined in:
- lib/parse/client/body_builder.rb
Overview
This middleware takes an incoming Parse response, after an outgoing request, and creates a Parse::Response object.
Constant Summary collapse
- HTTP_METHOD_OVERRIDE =
Header sent when a GET requests exceeds the limit.
"X-Http-Method-Override"
- MAX_URL_LENGTH =
Maximum url length for most server requests before HTTP Method Override is used.
2_000.freeze
Constants included from Protocol
Protocol::API_KEY, Protocol::APP_ID, Protocol::CONTENT_TYPE, Protocol::CONTENT_TYPE_FORMAT, Protocol::EMAIL, Protocol::INSTALLATION_ID, Protocol::MASTER_KEY, Protocol::PASSWORD, Protocol::REVOCABLE_SESSION, Protocol::SERVER_URL, Protocol::SESSION_TOKEN
Class Attribute Summary collapse
- .logging ⇒ Boolean
Allows logging.
Class Attribute Details
.logging ⇒ Boolean
Allows logging. Set to `true` to enable logging, `false` to disable. You may specify `:debug` for additional verbosity.
40 41 42 | # File 'lib/parse/client/body_builder.rb', line 40 def logging @logging end |