Class: TravelTimeAPI::TimeFilterResult

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

Overview

Result of #time_filter method for one mode.

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



77
78
79
# File 'lib/traveltime_api.rb', line 77

def accuracy
  @accuracy
end

#pointsObject

Returns the value of attribute points

Returns:

  • (Object)

    the current value of points



77
78
79
# File 'lib/traveltime_api.rb', line 77

def points
  @points
end