amadeus4dev/amadeus-node

View on GitHub
src/amadeus/namespaces/airline.js

Summary

Maintainability
A
0 mins
Test Coverage
import Destinations from './airline/destinations';

/**
 * A namespaced client for the
 * `/v1/airline` endpoints
 *
 * Access via the {@link Amadeus} object
 *
 * ```js
 * let amadeus = new Amadeus();
 * amadeus.airline;
 * ```
 *
 * @param {Client} client
 * @property {predictions} predictions
 */
class Airline {
  constructor(client) {
    this.client = client;
    this.destinations = new Destinations(client);
  }
}

export default Airline;