def list_triggers(ids = [], tags = [])
      query = generate_query_params 'triggerIds' => ids, 'tags' => tags
      sub_url = '/triggers' + query

      ret = http_get(sub_url)

      val = []
      ret.each { |t| val.push(Trigger.new(t)) }
      val
    end
def list_triggers(ids = [], tags = [])
      query = generate_query_params 'triggerIds' => ids, 'tags' => tags
      sub_url = '/triggers' + query

      ret = http_get(sub_url)

      val = []
      ret.each { |t| val.push(Trigger.new(t)) }
      val
    end
Lists defined triggers in the system
 @param [Array] ids List of trigger ids. If provided, limits to the given triggers
 @param [Array] tags List of tags. If provided, limits to the given tags. Individual
 tags are of the format # key|value. Tags are OR'd together. If a tag-key shows up
 more than once, only the last one is accepted
 @return [Array<Trigger>] Triggers found