Class: MendixBridge::Migration::Plan
- Inherits:
-
Data
- Object
- Data
- MendixBridge::Migration::Plan
- Defined in:
- lib/mendix_bridge/migration.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#operations ⇒ Object
readonly
Returns the value of attribute operations.
Instance Method Summary collapse
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name
11 12 13 |
# File 'lib/mendix_bridge/migration.rb', line 11 def name @name end |
#operations ⇒ Object (readonly)
Returns the value of attribute operations
11 12 13 |
# File 'lib/mendix_bridge/migration.rb', line 11 def operations @operations end |
Instance Method Details
#to_h ⇒ Object
12 13 14 |
# File 'lib/mendix_bridge/migration.rb', line 12 def to_h { name:, operations: operations.map(&:to_h) } end |