Class: Jets::Commands::Dynamodb

Inherits:
Base
  • Object
show all
Defined in:
lib/jets/commands/dynamodb.rb

Defined Under Namespace

Classes: Migrate, Migrator

Instance Method Summary collapse

Methods inherited from Base

autocomplete, banner, dispatch, eager_load!, help_list, inherited, klass_from_namespace, namespace_from_class, namespaced_commands, perform, special_class_map, subclasses

Instance Method Details

#generate(name) ⇒ Object



18
19
20
# File 'lib/jets/commands/dynamodb.rb', line 18

def generate(name)
  Dynomite::Migration::Generator.new(name, options).generate
end

#migrate(path) ⇒ Object



8
9
10
# File 'lib/jets/commands/dynamodb.rb', line 8

def migrate(path)
  Migrator.new(path, options).run
end