Method: SimpleQS::Request::Base#query_params

Defined in:
lib/simple_qs/request/base.rb

#query_paramsObject



33
34
35
36
37
38
39
40
41
42
43
44
45
# File 'lib/simple_qs/request/base.rb', line 33

def query_params
  @query_params ||= {}
  @query_params = {
    'SignatureVersion'    => SIGNATURE_VERSION,
    'SignatureMethod'     => SIGNATURE_METHOD,
    'Version'             => SimpleQS::API_VERSION,
    'Timestamp'           => timestamp,
    'AWSAccessKeyId'      => SimpleQS.access_key_id
  }.merge(@query_params)
  @query_params.delete('Timestamp') if @query_params['Expires']
  
  @query_params
end