Skip to content

Instantly share code, notes, and snippets.

@igorp1
Created January 29, 2026 09:12
Show Gist options
  • Select an option

  • Save igorp1/114ca371a09bda1e82803145f2b6338f to your computer and use it in GitHub Desktop.

Select an option

Save igorp1/114ca371a09bda1e82803145f2b6338f to your computer and use it in GitHub Desktop.
Jake Lee <> Duffel
results = [
{
data: {
destination: 'LGW',
origin: 'JFK',
arrival_time: '17:50',
departure_time: '18:00',
price: '432GBP',
},
source: :duffel_air
},
{
data: {
flights: 'JFK/LGW',
arrival_time: '17:50',
departure_time: '18:00',
price_fractional: '12300',
currency_code: 'GBP',
},
source: :virgin,
},
{
data: {
flights: 'JFK/LGW',
arrival_time: '19:30',
departure_time: '15:00',
price_fractional: '10900',
currency_code: 'GBP',
},
source: :virgin,
},
{
data: {
destination_code: 'lgw',
origin_code: 'jfk',
arrival_datetime: '2020-07-23 12:07:53 +0000',
departure_time: '2020-07-23 09:01:20 +0000',
price: {
code: 'USD',
value: '325.50'
},
},
source: :aa
},
{
data: {
destination_code: 'lgw',
origin_code: 'jfk',
duration: '542',
take_off_at: '2020-07-23 09:01:20 +0000',
price: {
code: 'GBP',
value: '425.50'
},
},
source: :ba,
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment