class Aws::Query::Param
def <=> other
- Api: - private
def <=> other name <=> other.name end
def ==(other)
- Api: - private
def ==(other) other.kind_of?(Param) && other.name == name && other.value == value end
def escape(str)
def escape(str) Util.uri_escape(str) end
def initialize(name, value = nil)
-
value
(String, nil
) -- (nil) -
name
(String
) --
def initialize(name, value = nil) @name = name.to_s @value = value end
def to_s
-
(String)
-
def to_s value ? "#{escape(name)}=#{escape(value)}" : escape(name) end