Sha256: 907ed9d57b17fc000c66df9ee34b70c0aae72619520ee0cb397d95ff97f03d4e

Contents?: true

Size: 234 Bytes

Versions: 9

Compression:

Stored size: 234 Bytes

Contents

module Cassanity
  module ArgumentGenerators
    class KeyspaceDrop

      # Internal
      def call(args = {})
        name = args.fetch(:keyspace_name)
        cql = "DROP KEYSPACE #{name}"
        [cql]
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cassanity-0.6.0 lib/cassanity/argument_generators/keyspace_drop.rb
cassanity-0.6.0.beta5 lib/cassanity/argument_generators/keyspace_drop.rb
cassanity-0.6.0.beta4 lib/cassanity/argument_generators/keyspace_drop.rb
cassanity-0.6.0.beta3 lib/cassanity/argument_generators/keyspace_drop.rb
cassanity-0.6.0.beta2 lib/cassanity/argument_generators/keyspace_drop.rb
cassanity-0.6.0.beta1 lib/cassanity/argument_generators/keyspace_drop.rb
cassanity-0.5.1 lib/cassanity/argument_generators/keyspace_drop.rb
cassanity-0.5.0 lib/cassanity/argument_generators/keyspace_drop.rb
cassanity-0.4.0 lib/cassanity/argument_generators/keyspace_drop.rb