Class: Rome2rio::FlightLeg
- Inherits:
-
Object
- Object
- Rome2rio::FlightLeg
- Defined in:
- lib/rome2rio/response/flight_leg.rb
Instance Attribute Summary collapse
-
#days ⇒ Object
readonly
Returns the value of attribute days.
-
#hops ⇒ Object
readonly
Returns the value of attribute hops.
Instance Method Summary collapse
-
#initialize(json) ⇒ FlightLeg
constructor
A new instance of FlightLeg.
Constructor Details
Instance Attribute Details
#days ⇒ Object (readonly)
Returns the value of attribute days.
3 4 5 |
# File 'lib/rome2rio/response/flight_leg.rb', line 3 def days @days end |
#hops ⇒ Object (readonly)
Returns the value of attribute hops.
3 4 5 |
# File 'lib/rome2rio/response/flight_leg.rb', line 3 def hops @hops end |