Class: TravelTimeAPI::TimeFilterResult
- Inherits:
-
Struct
- Object
- Struct
- TravelTimeAPI::TimeFilterResult
- 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
-
#accuracy ⇒ Object
Returns the value of attribute accuracy.
-
#points ⇒ Object
Returns the value of attribute points.
Instance Attribute Details
#accuracy ⇒ Object
Returns the value of attribute accuracy
66 67 68 |
# File 'lib/traveltime_api.rb', line 66 def accuracy @accuracy end |
#points ⇒ Object
Returns the value of attribute points
66 67 68 |
# File 'lib/traveltime_api.rb', line 66 def points @points end |