def update(params={})
      instance_variable_set(:@summary, params[:summary])
      instance_variable_set(:@location, params[:location])
      instance_variable_set(:@description, params[:description])
      instance_variable_set(:@time_zone, params[:time_zone])

      response =
        send_calendar_request(
                              "/#{@id}", 
                              :put, 
                              {
                               summary: @summary,
                               location: @location,
                               description: @description,
                               timeZone: @time_zone,
                              }.to_json
                             )
      @raw = JSON.parse(response.body)
      self
    end
def update(params={})
      instance_variable_set(:@summary, params[:summary])
      instance_variable_set(:@location, params[:location])
      instance_variable_set(:@description, params[:description])
      instance_variable_set(:@time_zone, params[:time_zone])

      response =
        send_calendar_request(
                              "/#{@id}", 
                              :put, 
                              {
                               summary: @summary,
                               location: @location,
                               description: @description,
                               timeZone: @time_zone,
                              }.to_json
                             )
      @raw = JSON.parse(response.body)
      self
    end
Connect and update a Google Calendar.
  the +params+ paramater accepts
 * :summary => title of the calendar being created. OPTIONAL
 * :location => geographic location of the calendar as free-form text. OPTIONAL
 * :time_zone => the time zone of the calendar. (Formatted as an IANA Time Zone Database name, e.g. "Europe/Zurich".) OPTIONAL
 * :description => description of the calendar. OPTIONAL
 * :refresh_token => if a user has already given you access to their calendars, you can specify their refresh token here and you will be 'logged on' automatically (i.e. they don't need to authorize access again). OPTIONAL

 See Readme.rdoc or readme_code.rb for an explication on the OAuth2 authorization process.

 ==== Example
 google_calendar_object.update(
                               :summary => 'Test Calendar',
                               :location => 'Somewhere',
                               :description => 'Test Calendar Description',
                               :time_zone => 'Europe/Zurich',
                              )