Class: Pangea::Magma::Migration::ResourceMove
- Defined in:
- lib/pangea/magma/migration.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#identity ⇒ Object
Returns the value of attribute identity.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#new_address ⇒ Object
Returns the value of attribute new_address.
-
#new_address_pattern ⇒ Object
Returns the value of attribute new_address_pattern.
Instance Method Summary collapse
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address
36 37 38 |
# File 'lib/pangea/magma/migration.rb', line 36 def address @address end |
#identity ⇒ Object
Returns the value of attribute identity
36 37 38 |
# File 'lib/pangea/magma/migration.rb', line 36 def identity @identity end |
#kind ⇒ Object
Returns the value of attribute kind
36 37 38 |
# File 'lib/pangea/magma/migration.rb', line 36 def kind @kind end |
#new_address ⇒ Object
Returns the value of attribute new_address
36 37 38 |
# File 'lib/pangea/magma/migration.rb', line 36 def new_address @new_address end |
#new_address_pattern ⇒ Object
Returns the value of attribute new_address_pattern
36 37 38 |
# File 'lib/pangea/magma/migration.rb', line 36 def new_address_pattern @new_address_pattern end |
Instance Method Details
#to_h ⇒ Object
39 40 41 42 43 |
# File 'lib/pangea/magma/migration.rb', line 39 def to_h { kind: kind.to_s, address: address, new_address: new_address, new_address_pattern: new_address_pattern, identity: identity }.compact end |