Class: NISTRandomnessBeacon::Record
- Inherits:
-
Object
- Object
- NISTRandomnessBeacon::Record
- Defined in:
- lib/nist_randomness_beacon/record.rb
Instance Attribute Summary collapse
-
#certificate_id ⇒ Object
readonly
Returns the value of attribute certificate_id.
-
#external ⇒ Object
readonly
Returns the value of attribute external.
-
#frequency ⇒ Object
readonly
Returns the value of attribute frequency.
-
#humanized_status_code ⇒ Object
readonly
Returns the value of attribute humanized_status_code.
-
#list_values ⇒ Object
readonly
Returns the value of attribute list_values.
-
#local_random_value ⇒ Object
readonly
Returns the value of attribute local_random_value.
-
#output_value ⇒ Object
readonly
Returns the value of attribute output_value.
-
#precommitment_value ⇒ Object
readonly
Returns the value of attribute precommitment_value.
-
#seed_value ⇒ Object
readonly
Returns the value of attribute seed_value.
-
#signature_value ⇒ Object
readonly
Returns the value of attribute signature_value.
-
#status_code ⇒ Object
readonly
Returns the value of attribute status_code.
-
#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(args = {}) ⇒ Record
constructor
A new instance of Record.
Constructor Details
#initialize(args = {}) ⇒ Record
Returns a new instance of Record.
10 11 12 13 14 |
# File 'lib/nist_randomness_beacon/record.rb', line 10 def initialize(args={}) args.each do |k, v| instance_variable_set("@#{k}".underscore, v) unless v.nil? end end |
Instance Attribute Details
#certificate_id ⇒ Object (readonly)
Returns the value of attribute certificate_id.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def certificate_id @certificate_id end |
#external ⇒ Object (readonly)
Returns the value of attribute external.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def external @external end |
#frequency ⇒ Object (readonly)
Returns the value of attribute frequency.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def frequency @frequency end |
#humanized_status_code ⇒ Object (readonly)
Returns the value of attribute humanized_status_code.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def humanized_status_code @humanized_status_code end |
#list_values ⇒ Object (readonly)
Returns the value of attribute list_values.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def list_values @list_values end |
#local_random_value ⇒ Object (readonly)
Returns the value of attribute local_random_value.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def local_random_value @local_random_value end |
#output_value ⇒ Object (readonly)
Returns the value of attribute output_value.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def output_value @output_value end |
#precommitment_value ⇒ Object (readonly)
Returns the value of attribute precommitment_value.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def precommitment_value @precommitment_value end |
#seed_value ⇒ Object (readonly)
Returns the value of attribute seed_value.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def seed_value @seed_value end |
#signature_value ⇒ Object (readonly)
Returns the value of attribute signature_value.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def signature_value @signature_value end |
#status_code ⇒ Object (readonly)
Returns the value of attribute status_code.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def status_code @status_code end |
#time_stamp ⇒ Object (readonly)
Returns the value of attribute time_stamp.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def time_stamp @time_stamp end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
5 6 7 |
# File 'lib/nist_randomness_beacon/record.rb', line 5 def version @version end |