Class: RBGlitch::LocationsAPI
Instance Method Summary
collapse
Methods inherited from BaseAPI
#initialize
Instance Method Details
#get_hubs ⇒ Object
9
10
11
12
|
# File 'lib/rbglitch/locations_api.rb', line 9
def get_hubs
params = {}
send('getHubs', params)
end
|
#get_streets(hub_id) ⇒ Object
14
15
16
17
18
19
|
# File 'lib/rbglitch/locations_api.rb', line 14
def get_streets(hub_id)
params = {
'hub_id' => hub_id
}
send('getStreets', params)
end
|
#street_info(street_tsid) ⇒ Object
21
22
23
24
25
26
|
# File 'lib/rbglitch/locations_api.rb', line 21
def street_info(street_tsid)
params = {
'street_tsid' => street_tsid
}
send('streetInfo', params)
end
|