Class: Amadeus::Namespaces::ReferenceData::Urls::CheckinLinks

Inherits:
Client::Decorator
  • Object
show all
Defined in:
lib/amadeus/namespaces/reference_data/urls/checkin_links.rb

Overview

A namespaced client for the /v2/reference-data/urls/checkin-links endpoints

Access via the Amadeus::Client object

amadeus = Amadeus::Client.new
amadeus.reference_data.urls.checkin_links

Instance Method Summary collapse

Instance Method Details

#get(params = {}) ⇒ Amadeus::Response

Returns the checkin links for an airline, for the language of your choice

Examples:

Find a the checkin links for British Airways

amadeus.reference_data.urls.checkin_links.get(airlineCode: 'BA')

Parameters:

  • params (Hash) (defaults to: {})

    a customizable set of options

Options Hash (params):

  • :airlineCode (String)

    airline ID - required

  • :language (String) — default: en-GB

    the locale for the links

Returns:

Raises:

  • (Amadeus::Base)

    an exception if the call failed



26
27
28
# File 'lib/amadeus/namespaces/reference_data/urls/checkin_links.rb', line 26

def get(params = {})
  client.get('/v2/reference-data/urls/checkin-links', params)
end