Class: Remit::ApiQuery

Inherits:
SignedQuery show all
Defined in:
lib/remit/common.rb

Overview

Frustratingly enough, API requests want the signature params with slightly different casing.

Constant Summary

Constants inherited from SignedQuery

SignedQuery::UNSAFE

Instance Method Summary collapse

Methods inherited from SignedQuery

escape_value, #initialize, parse, #signable_string, #signature

Constructor Details

This class inherits a constructor from Remit::SignedQuery

Instance Method Details

#signObject



123
124
125
126
127
# File 'lib/remit/common.rb', line 123

def sign
  store(:SignatureVersion, Remit::API::SIGNATURE_VERSION)
  store(:SignatureMethod, 'HmacSHA256')
  store(:Signature, signature)
end