Sha256: 1dfa58368f32362fe70d71325861a744682fc23fc84c8d9a59f6ca752b404008

Contents?: true

Size: 243 Bytes

Versions: 5

Compression:

Stored size: 243 Bytes

Contents

module Wego
  class Booking
    def self.url_for(search_id, hotel_id:, room_rate_id:)
      Wego::Client.new(
        "search/redirect/#{search_id}",
        hotel_id: hotel_id,
        room_rate_id: room_rate_id
      ).url
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
wego-0.1.4 lib/wego/booking.rb
wego-0.1.3 lib/wego/booking.rb
wego-0.1.2 lib/wego/booking.rb
wego-0.1.1 lib/wego/booking.rb
wego-0.1.0 lib/wego/booking.rb