Sha256: 7bb74a2a3de7eeb5b0b90b22c3c1baf4b3f2370b7a2876ed88b21267a7a86c32
Contents?: true
Size: 677 Bytes
Versions: 10
Compression:
Stored size: 677 Bytes
Contents
module Aws module Query # @api private class Serializer def setup_request(context) context.http_request.headers['Content-Type'] = 'application/x-www-form-urlencoded; charset=utf-8' finalize_param_list(context, Query::ParamList.new) end def serialize_params(context, rules, params) finalize_param_list(context, Builder.to_query_params(rules, params)) end def finalize_param_list(context, param_list) param_list.set('Version', context.config.api.version) param_list.set('Action', context.operation.name) context.http_request.body = param_list.to_io end end end end
Version data entries
10 entries across 10 versions & 1 rubygems