class ApiSignature::Signature
Attributes
canonical_request[R]
@return [String] For debugging purposes.
content_sha256[R]
@return [String] For debugging purposes.
headers[R]
@return [Hash<String,String>] A hash of headers that should
be applied to the HTTP request. Header keys are lower cased strings and may include the following: * 'host' * 'x-date' * 'x-content-sha256' * 'authorization'
signature[R]
@return [String] For debugging purposes.
string_to_sign[R]
@return [String] For debugging purposes.
Public Class Methods
new(attributes)
click to toggle source
# File lib/api_signature/signature.rb, line 28 def initialize(attributes) attributes.each do |key, value| instance_variable_set("@#{key}", value) end end