Class: RailsVitals::Playground::Sandbox::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/rails_vitals/playground/sandbox.rb

Instance Attribute Summary collapse

Instance Attribute Details

#duration_msObject

Returns the value of attribute duration_ms

Returns:

  • (Object)

    the current value of duration_ms



19
20
21
# File 'lib/rails_vitals/playground/sandbox.rb', line 19

def duration_ms
  @duration_ms
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



19
20
21
# File 'lib/rails_vitals/playground/sandbox.rb', line 19

def error
  @error
end

#model_nameObject

Returns the value of attribute model_name

Returns:

  • (Object)

    the current value of model_name



19
20
21
# File 'lib/rails_vitals/playground/sandbox.rb', line 19

def model_name
  @model_name
end

#n1_patternsObject

Returns the value of attribute n1_patterns

Returns:

  • (Object)

    the current value of n1_patterns



19
20
21
# File 'lib/rails_vitals/playground/sandbox.rb', line 19

def n1_patterns
  @n1_patterns
end

#queriesObject

Returns the value of attribute queries

Returns:

  • (Object)

    the current value of queries



19
20
21
# File 'lib/rails_vitals/playground/sandbox.rb', line 19

def queries
  @queries
end

#query_countObject

Returns the value of attribute query_count

Returns:

  • (Object)

    the current value of query_count



19
20
21
# File 'lib/rails_vitals/playground/sandbox.rb', line 19

def query_count
  @query_count
end

#record_countObject

Returns the value of attribute record_count

Returns:

  • (Object)

    the current value of record_count



19
20
21
# File 'lib/rails_vitals/playground/sandbox.rb', line 19

def record_count
  @record_count
end

#scoreObject

Returns the value of attribute score

Returns:

  • (Object)

    the current value of score



19
20
21
# File 'lib/rails_vitals/playground/sandbox.rb', line 19

def score
  @score
end