Sha256: d4a06d75c9c71b2882724d2bf8400528639c04323cb0ca161bf2f6b02683f8c6

Contents?: true

Size: 145 Bytes

Versions: 22

Compression:

Stored size: 145 Bytes

Contents

module Twilio
  module Util
    def url_encode(hash)
      hash.to_a.map {|p| p.map {|e| CGI.escape e.to_s}.join '='}.join '&'
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
twilio-ruby-3.1.0 lib/twilio-ruby/util.rb
twilio-ruby-3.0.0 lib/twilio-ruby/util.rb