ip2k / google-api-ruby-client

Automatically exported from code.google.com/p/google-api-ruby-client
Apache License 2.0
0 stars 0 forks source link

Media type in calendar.delete raise error. #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
result = @client.execute(
  api_method: 'calendar.calendars.delete',
  ...
)

result.media_type
#=> NoMethodError: undefined method `[]' for nil:NilClass
    google-api-client-0.4.5/lib/google/api_client/result.rb:53:in `media_type'

Content-Type is not in result.headers.

Original issue reported on code.google.com by moravcik...@gmail.com on 2 Sep 2012 at 8:20

GoogleCodeExporter commented 9 years ago
Added guard against missing content type in 0.5.0

Original comment by sba...@google.com on 3 Nov 2012 at 12:17

GoogleCodeExporter commented 9 years ago
Issue 86 has been merged into this issue.

Original comment by sba...@google.com on 5 Apr 2013 at 8:26