Class: Scryer::QueryWatcher::Finding
- Inherits:
-
Struct
- Object
- Struct
- Scryer::QueryWatcher::Finding
- Defined in:
- lib/scryer/query_watcher.rb
Instance Attribute Summary collapse
-
#call_site ⇒ Object
Returns the value of attribute call_site.
-
#count ⇒ Object
Returns the value of attribute count.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#message ⇒ Object
Returns the value of attribute message.
-
#suggested_fix ⇒ Object
Returns the value of attribute suggested_fix.
Instance Method Summary collapse
Instance Attribute Details
#call_site ⇒ Object
Returns the value of attribute call_site
24 25 26 |
# File 'lib/scryer/query_watcher.rb', line 24 def call_site @call_site end |
#count ⇒ Object
Returns the value of attribute count
24 25 26 |
# File 'lib/scryer/query_watcher.rb', line 24 def count @count end |
#kind ⇒ Object
Returns the value of attribute kind
24 25 26 |
# File 'lib/scryer/query_watcher.rb', line 24 def kind @kind end |
#message ⇒ Object
Returns the value of attribute message
24 25 26 |
# File 'lib/scryer/query_watcher.rb', line 24 def @message end |
#suggested_fix ⇒ Object
Returns the value of attribute suggested_fix
24 25 26 |
# File 'lib/scryer/query_watcher.rb', line 24 def suggested_fix @suggested_fix end |
Instance Method Details
#to_h ⇒ Object
25 26 27 |
# File 'lib/scryer/query_watcher.rb', line 25 def to_h super.transform_keys(&:to_s) end |