Class: Aliyun::OSS::Authentication::QueryString

Inherits:
Signature show all
Defined in:
lib/aliyun/oss/authentication.rb

Overview

Provides query string authentication by computing the three authorization parameters: AliyunAccessKeyId, Expires and Signature. More details about the various authentication schemes can be found in the docs for its containing module, Authentication.

Instance Attribute Summary

Attributes inherited from Signature

#access_key_id, #options, #request, #secret_access_key

Instance Method Summary collapse

Methods inherited from String

#previous, #previous!, #remove_extended, #remove_extended!, #tap, #to_header, #underscore, #valid_utf8?

Constructor Details

#initialize(*args) ⇒ QueryString

Returns a new instance of QueryString.



103
104
105
106
107
# File 'lib/aliyun/oss/authentication.rb', line 103

def initialize(*args)
  super
  options[:url_encode] = true
  self << build
end