Class: DynamoDbFramework::MigrationScript

Inherits:
Object
  • Object
show all
Defined in:
lib/dynamodb_framework/dynamodb_migration_script.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#namespaceObject

Returns the value of attribute namespace.



4
5
6
# File 'lib/dynamodb_framework/dynamodb_migration_script.rb', line 4

def namespace
  @namespace
end

#timestampObject

Returns the value of attribute timestamp.



3
4
5
# File 'lib/dynamodb_framework/dynamodb_migration_script.rb', line 3

def timestamp
  @timestamp
end

Class Method Details

.descendantsObject



14
15
16
# File 'lib/dynamodb_framework/dynamodb_migration_script.rb', line 14

def self.descendants
  ObjectSpace.each_object(Class).select { |klass| klass < self }
end

Instance Method Details

#applyObject



6
7
8
# File 'lib/dynamodb_framework/dynamodb_migration_script.rb', line 6

def apply
  raise 'Not implemented.'
end

#undoObject



10
11
12
# File 'lib/dynamodb_framework/dynamodb_migration_script.rb', line 10

def undo
  raise 'Not implemented.'
end