Class: Remit::ApiQuery
- Inherits:
-
SignedQuery
- Object
- Relax::Query
- SignedQuery
- Remit::ApiQuery
- 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
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
#sign ⇒ Object
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 |