Skip to content

Instantly share code, notes, and snippets.

@diegonakamashi
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save diegonakamashi/9768495 to your computer and use it in GitHub Desktop.

Select an option

Save diegonakamashi/9768495 to your computer and use it in GitHub Desktop.
{
loc: '123Q',
tickets: [
{
passenger: {
name: 'Diego Nakamashi'
},
payment: {
type: 'credit_card'
}
,
flight_groups: [
{
origin: 'SAO',
destination: 'RIO',
departure_at: '2014-03-26 22:00:00',
arrival_at: '2014-03-26 22:00:00'
},
{
origin: 'RIO',
destination: 'SAO',
departure_at: '2014-03-26 22:00:00',
arrival_at: '2014-03-26 22:00:00'
}
]
},
{
passenger: {
name: 'Diego Nakamashi2'
},
payment: {
type: 'credit_card'
}
,
flight_groups: [
{
origin: 'SAO',
destination: 'RIO',
departure_at: '2014-03-26 22:00:00',
arrival_at: '2014-03-26 22:00:00'
},
{
origin: 'RIO',
destination: 'SAO',
departure_at: '2014-03-26 22:00:00',
arrival_at: '2014-03-26 22:00:00'
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment