Sha256: 6bbc5bd76d7657bfc0cb5742a6021cb2f21a6d22179e7a6f32a2886b41cfa695
Contents?: true
Size: 442 Bytes
Versions: 55
Compression:
Stored size: 442 Bytes
Contents
module Aws module Paging class Provider # @param [Hash] rules def initialize(rules) @operations = rules['pagination'].select { |k,v| v.key?('input_token') } end # @param [String] operation_name # @return [Pager] def pager(operation_name) if rules = @operations[operation_name] Pager.new(rules) else NullPager.new end end end end end
Version data entries
55 entries across 55 versions & 1 rubygems