Module: FaaNotams

Defined in:
lib/faa_notams.rb,
lib/faa_notams/service.rb,
lib/faa_notams/version.rb

Overview

FaaNotams - Ruby gem to interact with FAA’s Notice to Airmen (NOTAM) API external-api.faa.gov/notamapi

This gem provides access to FAA’s NOTAM API, which contains real-time notification of any change in the National Airspace System (NAS).

Defined Under Namespace

Classes: Error, Service

Constant Summary collapse

VERSION =
"0.1.0"

Class Method Summary collapse

Class Method Details

.new(client_id = nil, client_secret = nil) ⇒ FaaNotams::Service

Convenience method to create a new service instance

Parameters:

  • client_id (String) (defaults to: nil)

    FAA API client ID

  • client_secret (String) (defaults to: nil)

    FAA API client secret

Returns:



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

def self.new(client_id = nil, client_secret = nil)
  Service.new(client_id, client_secret)
end