Sha256: dc55bf7ee172bb51ad1c3d8e35ae618ff55390b83fae6369dfd43cd8c8295b32
Contents?: true
Size: 668 Bytes
Versions: 158
Compression:
Stored size: 668 Bytes
Contents
module CassandraObject module Identity # An "interface" that keys need to implement # # You don't have to include this. But, there's no reason I can think of not to. # module Key # to_param should return a nice-readable representation of the key suitable to chuck into URLs # # @return [String] a nice readable representation of the key suitable for URLs def to_param; end # to_s should return the bytes which will be written to cassandra both as keys and values for associations. # # @return [String] the bytes which will be written to cassandra as keys def to_s; end end end end
Version data entries
158 entries across 158 versions & 3 rubygems