class Wego::Search
Public Class Methods
create(location_id:, check_in:, check_out:, user_ip:, **options)
click to toggle source
# File lib/wego/search.rb, line 5 def self.create(location_id:, check_in:, check_out:, user_ip:, **options) Wego.get_resource( "search/new", location_id: location_id, check_in: Wego.format_date(check_in), check_out: Wego.format_date(check_out), user_ip: user_ip, **options ) end