Skip to content

Commit

Permalink
Merge pull request googleapis#264 from landonwilkins/patch-1
Browse files Browse the repository at this point in the history
typo in calendar sample script
  • Loading branch information
sqrrrl committed Aug 11, 2015
2 parents 8daeb2c + 94e6270 commit d0f7eeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/calendar/calendar.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
events = calendar.list_events('primary', max_results: 10, single_events: true,
order_by: 'startTime', time_min: Time.now.iso8601)
puts "Upcoming events:"
events.items.each do |evt|
events.items.each do |event|
start = event.start.date || event.start.date_time
puts "- #{event.summary} (#{start}) (ID: #{event.id})"
end
Expand Down

0 comments on commit d0f7eeb

Please sign in to comment.