class Awscr::Signer::QueryString

Overview

Represents a QueryString. When converted to a String the keys and values are sorted and URI encoded.

qs = QueryString.new
qs.add("k", "v")
qs.to_s # => "k&v"

Included Modules

Defined in:

awscr-signer/core/query_string.cr

Instance Method Summary

Instance Method Detail

def add(k : String, v : String) #

Adds a key and value to the query string


[View source]
def each(&) #
Description copied from module Enumerable({String, String})

Must yield this collection's elements to the block.


[View source]
def to_s(io : IO) #

Returns the object as a string.


[View source]