Sha256: 35170fbb05a3a7db2034d9d96c8151eebb6142efffe35d9c20e24840772c7a5e
Contents?: true
Size: 416 Bytes
Versions: 19
Compression:
Stored size: 416 Bytes
Contents
module Twilio module Util def url_encode(hash) warn "'Twilio::Util::url_encode has been deprecated." hash.to_a.map { |p| p.map { |e| CGI.escape get_string(e) }.join '=' }.join '&' end def get_string(obj) warn "'Twilio::Util::get_string has been deprecated." if obj.respond_to?(:strftime) obj.strftime('%Y-%m-%d') else obj.to_s end end end end
Version data entries
19 entries across 19 versions & 1 rubygems