- #
- class InvalidSignatureError < StandardError
- end
-
- # Clock is a wrapper for Time.
- # It can be replaced with a stub for unit testing (the poor man's mock).
- # It must support a Clock.now method that returns a Time object.
- @@Clock = Time
-
- def self.set_clock c
- @@Clock = c