module TravelPayouts::Api::Calendar

Public Instance Methods

calendar_of_prices(origin:, destination:, depart_date:, one_way:true) click to toggle source
# File lib/travelpayouts_api/calendar.rb, line 8
def calendar_of_prices(origin:, destination:, depart_date:, one_way:true)
  request calendar_of_prices_url, {
    origin: origin,
    destination: destination,
    depart_date: depart_date,
    one_way: one_way
  }
end
calendar_of_prices_url() click to toggle source
# File lib/travelpayouts_api/calendar.rb, line 4
def calendar_of_prices_url
  'http://min-prices.aviasales.ru/calendar_preload'
end