Class: PgHaMigrations::DependentObjectsChecks::ObjectDependency
- Inherits:
-
Struct
- Object
- Struct
- PgHaMigrations::DependentObjectsChecks::ObjectDependency
- Defined in:
- lib/pg_ha_migrations/dependent_objects_checks.rb
Instance Attribute Summary collapse
-
#dependent_name ⇒ Object
Returns the value of attribute dependent_name.
-
#dependent_type ⇒ Object
Returns the value of attribute dependent_type.
-
#owner_name ⇒ Object
Returns the value of attribute owner_name.
-
#owner_type ⇒ Object
Returns the value of attribute owner_type.
Instance Method Summary collapse
Instance Attribute Details
#dependent_name ⇒ Object
Returns the value of attribute dependent_name
4 5 6 |
# File 'lib/pg_ha_migrations/dependent_objects_checks.rb', line 4 def dependent_name @dependent_name end |
#dependent_type ⇒ Object
Returns the value of attribute dependent_type
4 5 6 |
# File 'lib/pg_ha_migrations/dependent_objects_checks.rb', line 4 def dependent_type @dependent_type end |
#owner_name ⇒ Object
Returns the value of attribute owner_name
4 5 6 |
# File 'lib/pg_ha_migrations/dependent_objects_checks.rb', line 4 def owner_name @owner_name end |
#owner_type ⇒ Object
Returns the value of attribute owner_type
4 5 6 |
# File 'lib/pg_ha_migrations/dependent_objects_checks.rb', line 4 def owner_type @owner_type end |
Instance Method Details
#error_text ⇒ Object
5 6 7 |
# File 'lib/pg_ha_migrations/dependent_objects_checks.rb', line 5 def error_text "#{dependent_type} '#{dependent_name}' depends on #{owner_type} '#{owner_name}'" end |