Sha256: 4b73d16afa9074b39d233fc78200d5647bf55a1a9b80ab0e2fc96aed9f4b2d06

Contents?: true

Size: 273 Bytes

Versions: 4

Compression:

Stored size: 273 Bytes

Contents

module Wego
  class Booking
    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,
        **options
      ).url
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wego-0.2.2 lib/wego/booking.rb
wego-0.2.1 lib/wego/booking.rb
wego-0.2.0 lib/wego/booking.rb
wego-0.1.5 lib/wego/booking.rb