def update(id, hash = '', name = '', service = 'facebook')
      fail BadParametersError, 'service is required' if service.empty?

      params = { id: id }
      params.merge!(hash: hash) unless hash.empty?
      params.merge!(name: name) unless name.empty?

      DataSift.request(:PUT, build_path(service, 'pylon/update', @config), @config, params)
    end
def update(id, hash = '', name = '', service = 'facebook')
      fail BadParametersError, 'service is required' if service.empty?

      params = { id: id }
      params.merge!(hash: hash) unless hash.empty?
      params.merge!(name: name) unless name.empty?

      DataSift.request(:PUT, build_path(service, 'pylon/update', @config), @config, params)
    end
Perform /pylon/update API call to update a given PYLON Recording

 @param id [String] The ID of the PYLON recording to update
 @param hash [String] The CSDL filter hash this recording should be subscribed to
 @param name [String] Update the name of your recording
 @param service [String] The PYLON service to make this API call against
 @return [Object] API reponse object