Class: AwsDevUtils::RetryWrapper
- Inherits:
-
Object
- Object
- AwsDevUtils::RetryWrapper
- Defined in:
- lib/aws-dev-utils/retry_wrapper.rb
Instance Method Summary collapse
-
#initialize(client, max_tries = 5) ⇒ RetryWrapper
constructor
Initialize a new RetryWrapper, internal use only.
- #method_missing(m, *args, &block) ⇒ Object
Constructor Details
#initialize(client, max_tries = 5) ⇒ RetryWrapper
Initialize a new RetryWrapper, internal use only
7 8 9 10 |
# File 'lib/aws-dev-utils/retry_wrapper.rb', line 7 def initialize client, max_tries=5 @client = client @max_tries = max_tries end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &block) ⇒ Object
12 13 14 |
# File 'lib/aws-dev-utils/retry_wrapper.rb', line 12 def method_missing m, *args, &block do_call(m,*args,&block) end |