class Aws::Query::Param

def <=> other

Other tags:
    Api: - private
def <=> other
  name <=> other.name
end

def ==(other)

Other tags:
    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)

Parameters:
  • value (String, nil) -- (nil)
  • name (String) --
def initialize(name, value = nil)
  @name = name.to_s
  @value = value
end

def to_s

Returns:
  • (String) -
def to_s
  value ? "#{escape(name)}=#{escape(value)}" : escape(name)
end