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_ms ⇒ Object

Returns the value of attribute duration_ms

Returns:

  • (Object) —

    the current value of duration_ms



23
24
25
# File 'lib/rails_vitals/playground/sandbox.rb', line 23

def duration_ms
  @duration_ms
end

#error ⇒ Object

Returns the value of attribute error

Returns:

  • (Object) —

    the current value of error



23
24
25
# File 'lib/rails_vitals/playground/sandbox.rb', line 23

def error
  @error
end

#model_name ⇒ Object

Returns the value of attribute model_name

Returns:

  • (Object) —

    the current value of model_name



23
24
25
# File 'lib/rails_vitals/playground/sandbox.rb', line 23

def model_name
  @model_name
end

#n1_patterns ⇒ Object

Returns the value of attribute n1_patterns

Returns:

  • (Object) —

    the current value of n1_patterns



23
24
25
# File 'lib/rails_vitals/playground/sandbox.rb', line 23

def n1_patterns
  @n1_patterns
end

#queries ⇒ Object

Returns the value of attribute queries

Returns:

  • (Object) —

    the current value of queries



23
24
25
# File 'lib/rails_vitals/playground/sandbox.rb', line 23

def queries
  @queries
end

#query_count ⇒ Object

Returns the value of attribute query_count

Returns:

  • (Object) —

    the current value of query_count



23
24
25
# File 'lib/rails_vitals/playground/sandbox.rb', line 23

def query_count
  @query_count
end

#record_count ⇒ Object

Returns the value of attribute record_count

Returns:

  • (Object) —

    the current value of record_count



23
24
25
# File 'lib/rails_vitals/playground/sandbox.rb', line 23

def record_count
  @record_count
end

#score ⇒ Object

Returns the value of attribute score

Returns:

  • (Object) —

    the current value of score



23
24
25
# File 'lib/rails_vitals/playground/sandbox.rb', line 23

def score
  @score
end