def check_nil_or_empty(required_param_names=[], params)
      required_param_names.each { |p|
        if params[p].nil? || params[p].empty?
          raise Hoiio::RequestError.new "Param " << p << " is missing"
        end
      }
    end
def check_nil_or_empty(required_param_names=[], params)
      required_param_names.each { |p|
        if params[p].nil? || params[p].empty?
          raise Hoiio::RequestError.new "Param " << p << " is missing"
        end
      }
    end
Utility methods
 Check if any required parameter is missing in params hash

 @param required_param_names array of names of required parameters that need to be checked
 @param params hash of params that will be used to check the presence of each required_param_name

 @return Hoiio::InputError if a required param is missing