Sha256: c02446dc62b923de1b4959607cc5f0d7f64b2b654b3f57d5277e5394edaaca68

Contents?: true

Size: 282 Bytes

Versions: 1

Compression:

Stored size: 282 Bytes

Contents

require "uri_encoding"

module MWS
  class QueryString < ::String
    class PercentEncodedString < ::String
      def initialize(string)
        encoded_string = UriEncoding.encode(string, UriEncoding::UnreservedCharacters)
        super(encoded_string)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
marketplace_web_service-0.0.4 lib/mws/query_string/percent_encoded_string.rb