Created
November 20, 2014 20:53
-
-
Save zenchild/7fe5a3acc4ab39f770a5 to your computer and use it in GitHub Desktop.
Find Calendar Items between 2 dates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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