Class: DPay::Internal::ChecksumCalculator
- Inherits:
-
Object
- Object
- DPay::Internal::ChecksumCalculator
- Defined in:
- lib/dpay/internal/checksum_calculator.rb,
sig/dpay/internal/checksum_calculator.rbs
Instance Method Summary collapse
-
#initialize(secret_hash) ⇒ ChecksumCalculator
constructor
A new instance of ChecksumCalculator.
- #ordered_body(values) ⇒ String
- #secret_second(service, fields) ⇒ String
Constructor Details
#initialize(secret_hash) ⇒ ChecksumCalculator
Returns a new instance of ChecksumCalculator.
8 9 10 11 |
# File 'lib/dpay/internal/checksum_calculator.rb', line 8 def initialize(secret_hash) @secret_hash = secret_hash freeze end |