ads_savon/lib/ads_savon/client.rb
def remove_blank_values(hash)
      hash.delete_if { |_, value| value.respond_to?(:empty?) ? value.empty? : !value }
    end
def remove_blank_values(hash)
      hash.delete_if { |_, value| value.respond_to?(:empty?) ? value.empty? : !value }
    end
def remove_blank_values ( hash ) hash . delete_if { | _ , value | value . respond_to? ( :empty? ) ? value . empty? : ! value } end
Removes all blank values from a given +hash+.
Removes all blank values from a given + hash + .