Class: MendixBridge::Migration::Operation

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#actionObject (readonly)

Returns the value of attribute action

Returns:

  • (Object)

    the current value of action



5
6
7
# File 'lib/mendix_bridge/migration.rb', line 5

def action
  @action
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/mendix_bridge/migration.rb', line 5

def name
  @name
end

#optionsObject (readonly)

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



5
6
7
# File 'lib/mendix_bridge/migration.rb', line 5

def options
  @options
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



5
6
7
# File 'lib/mendix_bridge/migration.rb', line 5

def type
  @type
end

Instance Method Details

#to_hObject



6
7
8
# File 'lib/mendix_bridge/migration.rb', line 6

def to_h
  { action:, type:, name:, options: }.compact
end