Sha256: a83e5fba1cd9e964a84c1d518a175c8d67710f6407addb08e6da28b353fa6d49

Contents?: true

Size: 176 Bytes

Versions: 3

Compression:

Stored size: 176 Bytes

Contents

class Issue < CassandraObject::Base
  string :description
  string :title
  before_create { self.description ||= 'funny' }

  def self.for_key key
    where_ids(key)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gotime-cassandra_object-4.12.2 test/support/issue.rb
gotime-cassandra_object-4.12.1 test/support/issue.rb
gotime-cassandra_object-4.12.0 test/support/issue.rb