Class: Yoti::SignedTimeStamp

Inherits:
Object
  • Object
show all
Defined in:
lib/yoti/data_type/signed_time_stamp.rb

Overview

Encapsulates anchor signed time stamp

Instance Attribute Summary collapse

Instance Method Summary collapse

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_stampObject (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

#versionObject (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