Class: CLAccountHashType

Inherits:
CLType
  • Object
show all
Defined in:
lib/types/cl_account_hash_type.rb

Constant Summary

Constants inherited from CLType

CLType::TAGS

Instance Method Summary collapse

Methods inherited from CLType

#get_cl_type_tag, #get_link_to, #get_tag_key, #get_tag_value, #get_tags, #initialize, #tag_value_isvalid

Constructor Details

This class inherits a constructor from CLType

Instance Method Details

#get_valueObject



15
16
17
# File 'lib/types/cl_account_hash_type.rb', line 15

def get_value 
  @value
end

#to_jsonObject



19
20
21
# File 'lib/types/cl_account_hash_type.rb', line 19

def to_json 
  to_string
end

#to_stringObject

def initialize(value = nil)

super(value)
@value = value

end



11
12
13
# File 'lib/types/cl_account_hash_type.rb', line 11

def to_string
  ACCOUNT_HASH_ID
end