Class: Gitlab::UsageData::Topology::CollectionFailure
- Inherits:
-
Struct
- Object
- Struct
- Gitlab::UsageData::Topology::CollectionFailure
- Defined in:
- lib/gitlab/usage_data/topology.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#query ⇒ Object
Returns the value of attribute query.
Instance Method Summary collapse
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error
23 24 25 |
# File 'lib/gitlab/usage_data/topology.rb', line 23 def error @error end |
#query ⇒ Object
Returns the value of attribute query
23 24 25 |
# File 'lib/gitlab/usage_data/topology.rb', line 23 def query @query end |
Instance Method Details
#to_h ⇒ Object
24 25 26 |
# File 'lib/gitlab/usage_data/topology.rb', line 24 def to_h { query => error } end |