Class: Yoti::SignedTimeStamp
- Inherits:
-
Object
- Object
- Yoti::SignedTimeStamp
- Defined in:
- lib/yoti/data_type/signed_time_stamp.rb
Overview
Encapsulates anchor signed time stamp
Instance Attribute Summary collapse
-
#time_stamp ⇒ Object
readonly
Returns the value of attribute time_stamp.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(version, time_stamp) ⇒ SignedTimeStamp
constructor
A new instance of SignedTimeStamp.
Constructor Details
#initialize(version, time_stamp) ⇒ SignedTimeStamp
Returns a new instance of SignedTimeStamp.
6 7 8 9 |
# File 'lib/yoti/data_type/signed_time_stamp.rb', line 6 def initialize(version, time_stamp) @version = version @time_stamp = time_stamp end |
Instance Attribute Details
#time_stamp ⇒ Object (readonly)
Returns the value of attribute time_stamp.
4 5 6 |
# File 'lib/yoti/data_type/signed_time_stamp.rb', line 4 def time_stamp @time_stamp end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
4 5 6 |
# File 'lib/yoti/data_type/signed_time_stamp.rb', line 4 def version @version end |