thoughtfusion/suitcase — pull request #22 by rthbound (2012-05-27 20:10:59+00:00)
Title: Feature/provide search by destination

EAN suggests a best practice that is not yet supported by Suitcase. These commits will add support for performing hotel searches by destination_id.

From [EAN's docs](http://developer.ean.com/docs/read/hotels/version_3/Request_Hotel_List):

>Best Practice : take the user’s input and obtain the destination ID from the Geo Function request, then make the hotel availability request using this parameter instead of city/state/countryCode. This will always give the user a selection of expected choices instead of an error message if handled properly.

That said the advised flow using suitcase should be as follows:

1.9.2p290 :002 > locations = Suitcase::Hotel::Location.find(:destination_string => "Miami")
=> [#]

One *should* then use the `@destination_id="809003EA-AB88-410B-A419-A3A28E656963"` from that location response to search for hotels:

1.9.2p290 :007 > Suitcase::Hotel.find(:destination_id => locations.first.destination_id)
=> [#