Class: MendixBridge::Migration::Operation
- Inherits:
-
Data
- Object
- Data
- MendixBridge::Migration::Operation
- Defined in:
- lib/mendix_bridge/migration.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
readonly
Returns the value of attribute action.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#action ⇒ Object (readonly)
Returns the value of attribute action
5 6 7 |
# File 'lib/mendix_bridge/migration.rb', line 5 def action @action end |
#name ⇒ Object (readonly)
Returns the value of attribute name
5 6 7 |
# File 'lib/mendix_bridge/migration.rb', line 5 def name @name end |
#options ⇒ Object (readonly)
Returns the value of attribute options
5 6 7 |
# File 'lib/mendix_bridge/migration.rb', line 5 def @options end |
#type ⇒ Object (readonly)
Returns the value of attribute type
5 6 7 |
# File 'lib/mendix_bridge/migration.rb', line 5 def type @type end |
Instance Method Details
#to_h ⇒ Object
6 7 8 |
# File 'lib/mendix_bridge/migration.rb', line 6 def to_h { action:, type:, name:, options: }.compact end |