Skip to content

Instantly share code, notes, and snippets.

@zenchild
Created November 20, 2014 20:53
Show Gist options
  • Save zenchild/7fe5a3acc4ab39f770a5 to your computer and use it in GitHub Desktop.
Save zenchild/7fe5a3acc4ab39f770a5 to your computer and use it in GitHub Desktop.
Find Calendar Items between 2 dates
items = client.find_items(folder_id: :calendar) {|builder|
builder.opts[:calendar_view] = {
start_date: (DateTime.now - 2).iso8601,
end_date: DateTime.now.iso8601
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment