Class: SacsRuby::API::AlternateAirportShop

Inherits:
Base
  • Object
show all
Includes:
BasePost
Defined in:
lib/sacs_ruby/api/alternate_airport_shop.rb

Overview

The Alternate Airport Shop API allows you to define up to 20 airports per origin and/or destination. The API returns the lead fare (either nonstop or overall, whichever is lowest) with the corresponding flight itinerary and fare breakdown for each lead fare.

Instance Attribute Summary

Attributes inherited from Base

#opts, #results, #token, #url

Instance Method Summary collapse

Methods included from BasePost

#get, #url

Methods inherited from Base

get, #get, #initialize, #valid?

Constructor Details

This class inherits a constructor from SacsRuby::Base

Instance Method Details

#endpoint_urlObject



10
11
12
# File 'lib/sacs_ruby/api/alternate_airport_shop.rb', line 10

def endpoint_url
  '/v1.9.0/shop/altairports/flights?mode=live'
end