Sha256: ec76287878d3071de7b751a469f2ec89a2d7851b94c0e8ac3a318d49024ac641
Contents?: true
Size: 320 Bytes
Versions: 44
Compression:
Stored size: 320 Bytes
Contents
module Qa::Authorities # for use with Faraday; encode spaces as '%20' not '+' class AssignFast::SpaceFixEncoder def encode(hash) encoded = Faraday::NestedParamsEncoder.encode(hash) encoded.gsub('+', '%20') end def decode(str) Faraday::NestedParamsEncoder.decode(str) end end end
Version data entries
44 entries across 44 versions & 1 rubygems