Class: CLKey

Inherits:
CLValue show all
Includes:
CLValueBytesParsers::CLKeyBytesParser
Defined in:
lib/types/cl_key.rb

Overview

UREF_ID = 'URef'

Instance Method Summary collapse

Methods included from CLValueBytesParsers::CLKeyBytesParser

#from_bytes, #to_bytes

Methods inherited from CLValue

#to_hash

Constructor Details

#initialize(value) ⇒ CLKey

Returns a new instance of CLKey.



24
25
26
27
# File 'lib/types/cl_key.rb', line 24

def initialize(value)
  super
  @value =  value
end

Instance Method Details

#get_cl_typeObject



29
30
31
32
# File 'lib/types/cl_key.rb', line 29

def get_cl_type
  @cl_type = CLKeyType.new
  @cl_type.to_string
end

#get_valueObject



34
35
36
# File 'lib/types/cl_key.rb', line 34

def get_value
  @value  
end