Class: TravelTimeAPI::TimeFilterResult

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

Overview

Result of #time_filter method.

Properties is a Hash that can have (if you requested them) following pairs:

  • “time” => Fixnum - time from origin to point in seconds.

  • “distance” => Fixnum - distance from origin to point in meters.

from approximate to exact accuracy.

Instance Attribute Summary collapse

Instance Attribute Details

#accuracyObject

Returns the value of attribute accuracy

Returns:

  • (Object)

    the current value of accuracy



66
67
68
# File 'lib/traveltime_api.rb', line 66

def accuracy
  @accuracy
end

#pointsObject

Returns the value of attribute points

Returns:

  • (Object)

    the current value of points



66
67
68
# File 'lib/traveltime_api.rb', line 66

def points
  @points
end