Class: MendixBridge::ChangePlanner::Operation

Inherits:
Data
  • Object
show all
Defined in:
lib/mendix_bridge/change_planner.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/change_planner.rb', line 5

def action
  @action
end

#changesObject (readonly)

Returns the value of attribute changes

Returns:

  • (Object)

    the current value of changes



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

def changes
  @changes
end

#nameObject (readonly)

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end

#reasonObject (readonly)

Returns the value of attribute reason

Returns:

  • (Object)

    the current value of reason



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

def reason
  @reason
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



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

def type
  @type
end

Instance Method Details

#to_hObject



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

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