Class: 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

#timestampObject

Returns the value of attribute timestamp.



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

def timestamp
  @timestamp
end

Class Method Details

.descendantsObject



12
13
14
# File 'lib/dynamodb_framework/dynamodb_migration_script.rb', line 12

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

Instance Method Details

#applyObject



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

def apply
  raise 'Not implemented.'
end

#undoObject



8
9
10
# File 'lib/dynamodb_framework/dynamodb_migration_script.rb', line 8

def undo
  raise 'Not implemented.'
end