Skip to content

Instantly share code, notes, and snippets.

@renanlido
Last active August 19, 2021 14:44
Show Gist options
  • Save renanlido/979bed919c229c93172294921a8703da to your computer and use it in GitHub Desktop.
Save renanlido/979bed919c229c93172294921a8703da to your computer and use it in GitHub Desktop.
Configuração do settings da firm
"settings": {
"color": '#FECC02',
"schedule_settings":
{
"tour_default_duration": 30,
"availability": [
{
"available": true,
"day_start": "07:00",
"day_end": "18:00"
},
{
"available": true,
"day_start": "07:00",
"day_end": "18:00"
},
{
"available": true,
"day_start": "07:00",
"day_end": "18:00"
},
{
"available": true,
"day_start": "07:00",
"day_end": "18:00"
},
{
"available": true,
"day_start": "07:00",
"day_end": "18:00"
},
{
"available": true,
"day_start": "07:00",
"day_end": "18:00"
},
{
"available": true,
"day_start": "07:00",
"day_end": "18:00"
}
]
}
},
@renanlido
Copy link
Author

visit_settings é um array que vai conter no máximo 7 objetos de configuração, um para cada dia da semana.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment