Sha256: 6b18a14914bebab34a8dd8e53abd818876e4108df608bb58493b5ee49b24c01c
Contents?: true
Size: 530 Bytes
Versions: 57
Compression:
Stored size: 530 Bytes
Contents
# frozen_string_literal: true module Aws module Plugins # @api private class ResponsePaging < Seahorse::Client::Plugin class Handler < Seahorse::Client::Handler def call(context) context[:original_params] = context.params resp = @handler.call(context) resp.extend(PageableResponse) resp.pager = context.operation[:pager] || Aws::Pager::NullPager.new resp end end handle(Handler, step: :initialize, priority: 90) end end end
Version data entries
57 entries across 57 versions & 1 rubygems