Class: Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/route_500_check/result/result.rb

Overview

result/result.rb

Instance Attribute Summary collapse

Instance Attribute Details

#elapsed_ms ⇒ Object

Returns the value of attribute elapsed_ms

Returns:

  • (Object) —

    the current value of elapsed_ms



2
3
4
# File 'lib/route_500_check/result/result.rb', line 2

def elapsed_ms
  @elapsed_ms
end

#error ⇒ Object

Returns the value of attribute error

Returns:

  • (Object) —

    the current value of error



2
3
4
# File 'lib/route_500_check/result/result.rb', line 2

def error
  @error
end

#path ⇒ Object

Returns the value of attribute path

Returns:

  • (Object) —

    the current value of path



2
3
4
# File 'lib/route_500_check/result/result.rb', line 2

def path
  @path
end

#status ⇒ Object

Returns the value of attribute status

Returns:

  • (Object) —

    the current value of status



2
3
4
# File 'lib/route_500_check/result/result.rb', line 2

def status
  @status
end

#url ⇒ Object

Returns the value of attribute url

Returns:

  • (Object) —

    the current value of url



2
3
4
# File 'lib/route_500_check/result/result.rb', line 2

def url
  @url
end