Class: SabreDevStudio::Flight::Shop::StreamlinedDestinations
- Inherits:
-
Object
- Object
- SabreDevStudio::Flight::Shop::StreamlinedDestinations
- Defined in:
- lib/sabre_dev_studio-flight/shop/streamlined_destinations.rb
Instance Attribute Summary collapse
-
#destinations ⇒ Object
readonly
Returns the value of attribute destinations.
Instance Method Summary collapse
-
#initialize(bulky_destinations) ⇒ StreamlinedDestinations
constructor
A new instance of StreamlinedDestinations.
Constructor Details
#initialize(bulky_destinations) ⇒ StreamlinedDestinations
Returns a new instance of StreamlinedDestinations.
20 21 22 23 |
# File 'lib/sabre_dev_studio-flight/shop/streamlined_destinations.rb', line 20 def initialize(bulky_destinations) @destinations = Hash.new streamline(bulky_destinations['FareInfo']) end |
Instance Attribute Details
#destinations ⇒ Object (readonly)
Returns the value of attribute destinations.
18 19 20 |
# File 'lib/sabre_dev_studio-flight/shop/streamlined_destinations.rb', line 18 def destinations @destinations end |