class Aws::Query::ParamList
def [](param_name)
-
(Param, nil)
-
def [](param_name) @params[param_name.to_s] end
def delete(param_name)
-
(Param, nil)
-
Parameters:
-
param_name
(String
) --
def delete(param_name) @params.delete(param_name) end
def each(&block)
-
(Enumerable)
-
def each(&block) to_a.each(&block) end
def empty?
-
(Boolean)
-
def empty? @params.empty? end
def initialize
- Api: - private
def initialize @params = {} end
def set(param_name, param_value = nil)
-
(Param)
-
Parameters:
-
param_value
(String, nil
) -- -
param_name
(String
) --
def set(param_name, param_value = nil) param = Param.new(param_name, param_value) @params[param.name] = param param end
def to_a
-
(Array)
- Returns an array of sorted {Param} objects.
def to_a @params.values.sort end
def to_io
-
(#read, #rewind, #size)
-
def to_io IoWrapper.new(self) end
def to_s
-
(String)
-
def to_s to_a.map(&:to_s).join('&') end