Sha256: 8d4e83feda29fe0c01a4f9a0997e8722a0f90809c12a7b6fbe868ec88bfefd89
Contents?: true
Size: 798 Bytes
Versions: 23
Compression:
Stored size: 798 Bytes
Contents
module Algolia module Http class Response attr_reader :status, :body, :error, :headers, :has_timed_out, :network_failure # # @option status [String] Response status # @option body [String] Response body # @option error [String] Response error or caught error # @option headers [String] Response headers # @option has_timed_out [String] If the request has timed out # def initialize(opts = {}) @status = opts[:status] @body = opts[:body] || '' @error = opts[:error] || '' @headers = opts[:headers] || '' @has_timed_out = opts[:has_timed_out] || false @network_failure = opts[:network_failure] || false end end end end
Version data entries
23 entries across 23 versions & 1 rubygems