Sha256: 3a43f1d09f964384a3f1251a5bc305d1034115714e80be0ff23d80545478ce1e
Contents?: true
Size: 792 Bytes
Versions: 16
Compression:
Stored size: 792 Bytes
Contents
class IssueCustomConfig < CassandraObject::BaseSchemalessDynamic string :description string :title before_create { self.description ||= 'funny' } self.allow_filtering = true def self.for_key key where_ids(key) end # must be different to general config to test funcionality! def self.custom_config { keyspace: 'cassandra_object_test', hosts: ['127.0.0.1'], compression: :lz4, connect_timeout: 2, timeout: 30, consistency: :quorum, protocol_version: 3, page_size: 12345, trace: true, connections_per_local_node: 4, schema_refresh_delay: 0.1, schema_refresh_timeout: 0.1, # connections_per_remote_node: nil, # logger: Logger.new($stderr) } end end
Version data entries
16 entries across 16 versions & 1 rubygems