Class: CassandraObject::Identity::UUIDKeyFactory::UUID

Inherits:
SimpleUUID::UUID
  • Object
show all
Includes:
Key
Defined in:
lib/cassandra_object/identity/uuid_key_factory.rb

Instance Method Summary collapse

Instance Method Details

#to_paramObject



8
9
10
# File 'lib/cassandra_object/identity/uuid_key_factory.rb', line 8

def to_param
  to_guid
end

#to_sObject



12
13
14
15
16
# File 'lib/cassandra_object/identity/uuid_key_factory.rb', line 12

def to_s
  # FIXME - this should probably write the raw bytes 
  # but it's very hard to debug without this for now.
  to_guid
end