def toggle_timer
      options = self.class.merge_options()
      options.merge!({:body => self.to_xml})
      response = self.class.put(self.links[:toggle_timer], options)
      
      # Raise special errors if not a success
      self.class.check_status_code(response)
      
      # Re-initialize ourselves with information from response
      initialize(response.parsed_response)
      
      if self.stopped_timer
        stopped_timer = Cashboard::Struct.new(self.stopped_timer)
      end
      
      stopped_timer || nil
    end
def toggle_timer
      options = self.class.merge_options()
      options.merge!({:body => self.to_xml})
      response = self.class.put(self.links[:toggle_timer], options)
      
      # Raise special errors if not a success
      self.class.check_status_code(response)
      
      # Re-initialize ourselves with information from response
      initialize(response.parsed_response)
      
      if self.stopped_timer
        stopped_timer = Cashboard::Struct.new(self.stopped_timer)
      end
      
      stopped_timer || nil
    end
readonly
 Starts or stops timer depending on its current state.

 Will return an object of Cashboard::Struct if another timer was stopped
 during this toggle operation.

 Will return nil if no timer was stopped.