Class: MendixBridge::Migration::Plan

Inherits:
Data
  • Object
show all
Defined in:
lib/mendix_bridge/migration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



11
12
13
# File 'lib/mendix_bridge/migration.rb', line 11

def name
  @name
end

#operationsObject (readonly)

Returns the value of attribute operations

Returns:

  • (Object)

    the current value of operations



11
12
13
# File 'lib/mendix_bridge/migration.rb', line 11

def operations
  @operations
end

Instance Method Details

#to_hObject



12
13
14
# File 'lib/mendix_bridge/migration.rb', line 12

def to_h
  { name:, operations: operations.map(&:to_h) }
end