Class: Gitlab::Database::Migrations::Observation
- Inherits:
-
Struct
- Object
- Struct
- Gitlab::Database::Migrations::Observation
- Defined in:
- lib/gitlab/database/migrations/observation.rb
Instance Attribute Summary collapse
-
#error_message ⇒ Object
Returns the value of attribute error_message.
-
#meta ⇒ Object
Returns the value of attribute meta.
-
#name ⇒ Object
Returns the value of attribute name.
-
#query_statistics ⇒ Object
Returns the value of attribute query_statistics.
-
#success ⇒ Object
Returns the value of attribute success.
-
#total_database_size_change ⇒ Object
Returns the value of attribute total_database_size_change.
-
#version ⇒ Object
Returns the value of attribute version.
-
#walltime ⇒ Object
Returns the value of attribute walltime.
Instance Method Summary collapse
Instance Attribute Details
#error_message ⇒ Object
Returns the value of attribute error_message
7 8 9 |
# File 'lib/gitlab/database/migrations/observation.rb', line 7 def @error_message end |
#meta ⇒ Object
Returns the value of attribute meta
7 8 9 |
# File 'lib/gitlab/database/migrations/observation.rb', line 7 def @meta end |
#name ⇒ Object
Returns the value of attribute name
7 8 9 |
# File 'lib/gitlab/database/migrations/observation.rb', line 7 def name @name end |
#query_statistics ⇒ Object
Returns the value of attribute query_statistics
7 8 9 |
# File 'lib/gitlab/database/migrations/observation.rb', line 7 def query_statistics @query_statistics end |
#success ⇒ Object
Returns the value of attribute success
7 8 9 |
# File 'lib/gitlab/database/migrations/observation.rb', line 7 def success @success end |
#total_database_size_change ⇒ Object
Returns the value of attribute total_database_size_change
7 8 9 |
# File 'lib/gitlab/database/migrations/observation.rb', line 7 def total_database_size_change @total_database_size_change end |
#version ⇒ Object
Returns the value of attribute version
7 8 9 |
# File 'lib/gitlab/database/migrations/observation.rb', line 7 def version @version end |
#walltime ⇒ Object
Returns the value of attribute walltime
7 8 9 |
# File 'lib/gitlab/database/migrations/observation.rb', line 7 def walltime @walltime end |
Instance Method Details
#to_json ⇒ Object
9 10 11 |
# File 'lib/gitlab/database/migrations/observation.rb', line 9 def to_json(...) as_json.except('meta').to_json(...) end |