amadeus4dev/amadeus-node

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

Summary

Maintainability
A
0 mins
Test Coverage
import Flights from './schedule/flights';

/**
 * A namespaced client for the
 * `/v2/schedule` endpoints
 *
 * Access via the {Amadeus} object
 *
 * ```js
 * let amadeus = new Amadeus();
 * amadeus.schedule.flights;
 * ```
 *
 * @param {Client} client
 * @property {Flights} flights
 * @protected
 */
class Schedule {
  constructor(client) {
    this.client = client;
    this.flights = new Flights(client);
  }
}

export default Schedule;