Class: TreeHaver::ProviderDiagnostic
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::ProviderDiagnostic
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#blocking ⇒ Object
Returns the value of attribute blocking.
-
#category ⇒ Object
Returns the value of attribute category.
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
-
#path ⇒ Object
Returns the value of attribute path.
-
#severity ⇒ Object
Returns the value of attribute severity.
Instance Method Summary collapse
Instance Attribute Details
#blocking ⇒ Object
Returns the value of attribute blocking
378 379 380 |
# File 'lib/tree_haver/contracts.rb', line 378 def blocking @blocking end |
#category ⇒ Object
Returns the value of attribute category
378 379 380 |
# File 'lib/tree_haver/contracts.rb', line 378 def category @category end |
#code ⇒ Object
Returns the value of attribute code
378 379 380 |
# File 'lib/tree_haver/contracts.rb', line 378 def code @code end |
#message ⇒ Object
Returns the value of attribute message
378 379 380 |
# File 'lib/tree_haver/contracts.rb', line 378 def @message end |
#path ⇒ Object
Returns the value of attribute path
378 379 380 |
# File 'lib/tree_haver/contracts.rb', line 378 def path @path end |
#severity ⇒ Object
Returns the value of attribute severity
378 379 380 |
# File 'lib/tree_haver/contracts.rb', line 378 def severity @severity end |
Instance Method Details
#to_h ⇒ Object
379 380 381 382 383 384 385 386 387 388 |
# File 'lib/tree_haver/contracts.rb', line 379 def to_h { severity: severity, category: category, code: code, message: , path: path, blocking: blocking } end |