lib/wego/booking.rb in wego-0.1.4 vs lib/wego/booking.rb in wego-0.1.5
- old
+ new
@@ -1,11 +1,12 @@
module Wego
class Booking
- def self.url_for(search_id, hotel_id:, room_rate_id:)
+ def self.url_for(search_id, hotel_id:, room_rate_id:, **options)
Wego::Client.new(
"search/redirect/#{search_id}",
hotel_id: hotel_id,
- room_rate_id: room_rate_id
+ room_rate_id: room_rate_id,
+ **options
).url
end
end
end