zaidakram / expedia

Expedia is a ruby wrapper for EAN (Expedia Affiliate Network)
http://zaidakram.github.io/expedia/
MIT License
48 stars 29 forks source link

incorrect EAN endpoint #20

Open ljamieb2 opened 9 years ago

ljamieb2 commented 9 years ago

In the http_service.rb file found here https://github.com/zaidakram/expedia/blob/master/lib/expedia/http_service.rb on line 7 the endpoint api.eancdn.com is hard-coded. This is not an official endpoint for the EAN service. Please change this endpoint to use http://api.ean.com for non-secure search and info requests and https://book.api.ean.com for Reservation Requests.