Class Ym4r::YahooMaps::BuildingBlock::Traffic::ResultSet
In: lib/ym4r/yahoo_maps/building_block/traffic.rb
Parent: Array

Contains a list of results from the Yahoo! Maps Traffic REST API

Methods

exact_match?   new  

Attributes

last_update_date  [RW] 
warning  [RW] 

Public Class methods

[Source]

    # File lib/ym4r/yahoo_maps/building_block/traffic.rb, line 76
76:           def initialize(last_update_date,warning)
77:             super(0)
78:             @last_update_date = last_update_date
79:             @warning = warning
80:           end

Public Instance methods

Indicates if the location passed in the request could be exactly identified.

[Source]

    # File lib/ym4r/yahoo_maps/building_block/traffic.rb, line 83
83:           def exact_match?
84:             warning.nil?
85:           end

[Validate]