def get_all_webhooks(options = {})
      merged_options = {:'start-index' => 0, :'max-results' => 100}.merge(options)

      response = self.class.get(@api.webhook_config[:url],
                                   :query => {
                                     :auth_token => @token,
                                     :'start-index' => merged_options[:'start-index'],
                                     :'max-results' => merged_options[:'max-results']
                                   },
                                   :headers => @api.headers
      )

      ErrorHandler.response_code_to_exception_for :room, room_id, response
      response.body
    end
def get_all_webhooks(options = {})
      merged_options = {:'start-index' => 0, :'max-results' => 100}.merge(options)

      response = self.class.get(@api.webhook_config[:url],
                                   :query => {
                                     :auth_token => @token,
                                     :'start-index' => merged_options[:'start-index'],
                                     :'max-results' => merged_options[:'max-results']
                                   },
                                   :headers => @api.headers
      )

      ErrorHandler.response_code_to_exception_for :room, room_id, response
      response.body
    end
Gets all webhooks for this room

 Usage:

   # Default
   get_all_webhooks

 Options:

 +start-index+::  The regular expression pattern to match against messages. Only applicable for message events.
                (default "")
 +max-results+::     The label for this webhook
                (default "")