Class: MAuth::Response

Inherits:
Object
  • Object
show all
Includes:
Signable
Defined in:
lib/mauth/request_and_response.rb

Overview

virtual base class for signable responses

Direct Known Subclasses

Faraday::Response, MAuth::Rack::Response

Constant Summary collapse

SIGNATURE_COMPONENTS =
%i[status_code body app_uuid time].freeze
SIGNATURE_COMPONENTS_V2 =
%i[status_code body_digest app_uuid time].freeze

Method Summary

Methods included from Signable

#attributes_for_signing, #initialize, #normalize_path, #string_to_sign_v1, #string_to_sign_v2, #unescape_encode_query_string, #uri_escape