This commit is contained in:
Steven Bazyl 2015-08-13 12:08:45 -07:00
commit 2cbd2ee181
2 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ migrate to the latest version.
Add this line to your application's Gemfile:
```ruby
gem 'google-api-client', '0.9.pre2'
gem 'google-api-client', '0.9.pre3'
```
@ -25,7 +25,7 @@ And then execute:
Or install it yourself as:
$ gem install google-api-client
$ gem install google-api-client --pre
## Usage

View File

@ -33,7 +33,7 @@ puts "Created event '#{event.summary}' (#{event.id})"
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