Class: Aliyun::ESS::Authentication::Signature

Inherits:
String
  • Object
show all
Defined in:
lib/aliyun/ess/authentication.rb

Overview

:nodoc:

Direct Known Subclasses

QueryString

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from String

#camelize, #remove_extended, #remove_extended!, #underscore, #valid_utf8?

Constructor Details

#initialize(params, access_key_id, secret_access_key, options = {}) ⇒ Signature

Returns a new instance of Signature.



8
9
10
11
12
# File 'lib/aliyun/ess/authentication.rb', line 8

def initialize(params, access_key_id, secret_access_key, options = {})
  super()
  @params, @access_key_id, @secret_access_key = params, access_key_id, secret_access_key
  @options = options
end

Instance Attribute Details

#access_key_idObject (readonly)

Returns the value of attribute access_key_id.



6
7
8
# File 'lib/aliyun/ess/authentication.rb', line 6

def access_key_id
  @access_key_id
end

#optionsObject (readonly)

Returns the value of attribute options.



6
7
8
# File 'lib/aliyun/ess/authentication.rb', line 6

def options
  @options
end

#paramsObject (readonly)

Returns the value of attribute params.



6
7
8
# File 'lib/aliyun/ess/authentication.rb', line 6

def params
  @params
end

#secret_access_keyObject (readonly)

Returns the value of attribute secret_access_key.



6
7
8
# File 'lib/aliyun/ess/authentication.rb', line 6

def secret_access_key
  @secret_access_key
end