module Betaface::Util

Public Instance Methods

url_encode(hash) click to toggle source
# File lib/betaface/util.rb, line 3
def url_encode(hash)
  hash.to_a.map {|p| p.map {|e| CGI.escape get_string(e)}.join '='}.join '&'
end