API calls
|
API |
25 |
Authentication
|
- |
9 |
should call get and return token
|
fBird.get /v1/authenticate |
|
should return the request with the promise
|
- |
|
should return the correct status if a request has an empty response
|
- |
|
should make a GET against trip object
|
- |
|
should trigger a promise catch on a 403 with bad JSON
|
- |
|
should trigger a promise catch on a 500 with error JSON
|
- |
|
should trigger a promise catch on a 404
|
- |
|
get basic authenticated token
|
- |
|
should return the correct status if a request has an empty response
|
- |
|
pricing
|
- |
9 |
should call pricing API post method
|
- |
|
should return the request with the promise
|
- |
|
should return the correct status if a request has an empty response
|
- |
|
should make a POST against pricing object
|
- |
|
should trigger a promise catch on a 403 with bad JSON
|
- |
|
should trigger a promise catch on a 500 with error JSON
|
- |
|
should trigger a promise catch on a 404
|
- |
|
should return the request with the promise in pricing api
|
- |
|
should return the correct status if a request has an empty response
|
- |
|
Purchase
|
- |
7 |
should call purchase API post method
|
- |
|
should return the request with the promise
|
- |
|
should return the correct status if a request has an empty response
|
- |
|
should make a POST against purchase object
|
- |
|
should trigger a promise catch on a 403 with bad JSON
|
- |
|
should trigger a promise catch on a 500 with error JSON
|
- |
|
should trigger a promise catch on a 404
|
- |
|
JS Objects
|
- |
11 |
Flight object
|
Flight |
|
PassengerCount object
|
PassengerCount |
|
Date object
|
Date |
|
Leg object
|
Leg |
|
Segment object
|
Segment |
|
Slice object
|
Slice |
|
Trip object
|
Trip |
|
DateOfBirth object
|
DateOfBirth |
|
PersonDetails object
|
PersonDetails |
|
TripData object
|
TripData |
|
PurchaseData object
|
PurchaseData |
|