examples/keyspaces.rb in cassanity-0.5.1 vs examples/keyspaces.rb in cassanity-0.6.0.beta1
- old
+ new
@@ -13,11 +13,11 @@
pp keyspace
# you can also provide options
keyspace = client.keyspace('cassanity_examples', {
- strategy_class: 'SimpleStrategy',
- strategy_options: {
+ replication: {
+ class: 'SimpleStrategy',
replication_factor: 1,
},
})
# drop keyspace if it exists