Class: AwsDevUtils::NextTokenWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/aws-dev-utils/next_token_wrapper.rb

Constant Summary collapse

DEFAULT_MAX =
100

Instance Method Summary collapse

Constructor Details

#initialize(client, max = DEFAULT_MAX) ⇒ NextTokenWrapper

Initialize a new NextTokenWrapper, internal use only

Parameters:

  • max (Integer) (defaults to: DEFAULT_MAX)
    • max number of requests



9
10
11
12
# File 'lib/aws-dev-utils/next_token_wrapper.rb', line 9

def initialize client, max=DEFAULT_MAX
  @client = client
  @max = max
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(method, *args, &block) ⇒ Object



14
15
16
# File 'lib/aws-dev-utils/next_token_wrapper.rb', line 14

def method_missing method, *args, &block
  do_call(method, *args, &block)
end