Skip to content

Instantly share code, notes, and snippets.

@jgautsch
Created June 12, 2014 22:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgautsch/96c1f4a8b772aaf8ad04 to your computer and use it in GitHub Desktop.
Save jgautsch/96c1f4a8b772aaf8ad04 to your computer and use it in GitHub Desktop.
Schedule Setup Wizard params
params = {
weekly_recurring_schedule: {
length: 20,
color: "red",
user: 34,
locale: 11,
restriction: "Open to public",
name: "Dr ABC's appointments"
days: {
sunday: [
"8:00",
"9:00",
"13:00"
],
monday: [
"10:00",
"11:15",
"11:30",
"12:45"
],
tuesday: [
"10:00",
"11:15",
"11:30",
"12:45"
],
wednesday: [
"10:00",
"11:15",
"11:30",
"12:45"
],
thursday: [
],
friday: [
"10:00",
"11:15",
"11:30",
"12:45"
],
saturday: [
]
},
repetition: {
number: 5,
unit: "years"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment