class Ethon::Easies::Form

def multipart?

Returns:
  • (Boolean) - True if form is multipart, else false.

Other tags:
    Example: Return if form is multipart. -
def multipart?
  query_pairs.any?{|pair| pair.last.is_a?(Array)}
end