Module: AmadeusDiscover

Defined in:
lib/amadeus_discover.rb,
lib/amadeus_discover/client.rb,
lib/amadeus_discover/config.rb,
lib/amadeus_discover/version.rb,
lib/amadeus_discover/namespace.rb,
lib/amadeus_discover/namespaces.rb,
lib/amadeus_discover/authenticator.rb,
lib/amadeus_discover/authenticator/token.rb,
lib/amadeus_discover/namespaces/suppliers.rb,
lib/amadeus_discover/authenticator/response.rb,
lib/amadeus_discover/authenticator/credentials.rb,
lib/amadeus_discover/namespaces/suppliers/products.rb

Overview

Class variables are fine here as this configuration module is not to be used in any inheritance or composition chain. rubocop:disable Style/ClassVars

Defined Under Namespace

Modules: Config, Namespaces Classes: Authenticator, Client

Constant Summary collapse

VERSION =
'1.1.0'

Class Method Summary collapse

Class Method Details

.configure {|AmadeusDiscover::Config| ... } ⇒ Object

Shortcut to globally configure AmadeusDiscover clients

Yield the AmadeusDiscover configuration object to a block. See Config for available configurations.



18
19
20
# File 'lib/amadeus_discover.rb', line 18

def configure
  yield AmadeusDiscover::Config
end