Socket
Book a DemoInstallSign in
Socket

sabre_dev_studio-flight

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sabre_dev_studio-flight

1.0.3
bundlerRubygems
Version published
Maintainers
1
Created
Source

SabreDevStudio::Flight

Access the Travel Platform Services Flight API

Build Status

Installation

Add this line to your application's Gemfile:

gem 'sabre_dev_studio-flight'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sabre_dev_studio-flight

Usage

Once you've registered for your account at http://developer.sabre.com, grab your credentials and plug them into the configure block.

irb -r ./lib/sabre_dev_studio-flight.rb

SabreDevStudio.configure do |c|
  c.client_id     = 'V1:1234:ABCD:XYZ'
  c.client_secret = 'SeKr1T'
  c.uri           = 'https://api.test.sabre.com'
end
options = {
  :origin        => 'DFW',
  :departuredate => '2014-08-22',
  :returndate    => '2014-08-23',
  :theme         => 'BEACH'
}
fares = SabreDevStudio::Flight::Api.destination_air_shop(options)
fare_info = fares.fare_info

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Add some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

License

See LICENSE.txt

Disclaimer of Warranty and Limitation of Liability

This software and any compiled programs created using this software are furnished “as is” without warranty of any kind, including but not limited to the implied warranties of merchantability and fitness for a particular purpose. No oral or written information or advice given by Sabre, its agents or employees shall create a warranty or in any way increase the scope of this warranty, and you may not rely on any such information or advice. Sabre does not warrant, guarantee, or make any representations regarding the use, or the results of the use, of this software, compiled programs created using this software, or written materials in terms of correctness, accuracy, reliability, currentness, or otherwise. The entire risk as to the results and performance of this software and any compiled applications created using this software is assumed by you. Neither Sabre nor anyone else who has been involved in the creation, production or delivery of this software shall be liable for any direct, indirect, consequential, or incidental damages (including damages for loss of business profits, business interruption, loss of business information, and the like) arising out of the use of or inability to use such product even if Sabre has been advised of the possibility of such damages.

FAQs

Package last updated on 26 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.