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

#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



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

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

Instance Method Details

#applyObject



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

def apply
  raise 'Not implemented.'
end

#undoObject



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

def undo
  raise 'Not implemented.'
end