Class: QuickTravel::RouteStop
- Inherits:
-
Object
- Object
- QuickTravel::RouteStop
show all
- Includes:
- InitFromHash
- Defined in:
- lib/quick_travel/route_stop.rb
Instance Method Summary
collapse
#define_readers, #initialize, #to_hash
Instance Method Details
#stop ⇒ Object
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/quick_travel/route_stop.rb', line 7
def stop
Stop.new({
id: stop_id,
name: name,
code: code,
address: address,
longitude: longitude,
latitude: latitude
})
end
|