Class: Scryer::QueryWatcher::Finding

Inherits:
Struct
  • Object
show all
Defined in:
lib/scryer/query_watcher.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#call_siteObject

Returns the value of attribute call_site

Returns:

  • (Object)

    the current value of call_site



24
25
26
# File 'lib/scryer/query_watcher.rb', line 24

def call_site
  @call_site
end

#countObject

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



24
25
26
# File 'lib/scryer/query_watcher.rb', line 24

def count
  @count
end

#kindObject

Returns the value of attribute kind

Returns:

  • (Object)

    the current value of kind



24
25
26
# File 'lib/scryer/query_watcher.rb', line 24

def kind
  @kind
end

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



24
25
26
# File 'lib/scryer/query_watcher.rb', line 24

def message
  @message
end

#suggested_fixObject

Returns the value of attribute suggested_fix

Returns:

  • (Object)

    the current value of suggested_fix



24
25
26
# File 'lib/scryer/query_watcher.rb', line 24

def suggested_fix
  @suggested_fix
end

Instance Method Details

#to_hObject



25
26
27
# File 'lib/scryer/query_watcher.rb', line 25

def to_h
  super.transform_keys(&:to_s)
end