Class: CfnCli::Config::CfnClient
- Inherits:
-
Object
- Object
- CfnCli::Config::CfnClient
- Defined in:
- lib/cfncli/config.rb
Instance Attribute Summary collapse
-
#aws_retry_backoff ⇒ Object
Returns the value of attribute aws_retry_backoff.
-
#aws_retry_limit ⇒ Object
Returns the value of attribute aws_retry_limit.
-
#fail_on_noop ⇒ Object
Returns the value of attribute fail_on_noop.
-
#interval ⇒ Object
Returns the value of attribute interval.
-
#retries ⇒ Object
Returns the value of attribute retries.
Instance Method Summary collapse
-
#initialize(interval = 10, retries = 30, fail_on_noop = false, aws_retry_limit = 5, aws_retry_backoff = nil) ⇒ CfnClient
constructor
A new instance of CfnClient.
Constructor Details
#initialize(interval = 10, retries = 30, fail_on_noop = false, aws_retry_limit = 5, aws_retry_backoff = nil) ⇒ CfnClient
Returns a new instance of CfnClient.
19 20 21 22 23 24 25 |
# File 'lib/cfncli/config.rb', line 19 def initialize(interval = 10, retries = 30, fail_on_noop = false, aws_retry_limit = 5, aws_retry_backoff = nil) @interval = interval @retries = retries @fail_on_noop = fail_on_noop @aws_retry_limit = aws_retry_limit @aws_retry_backoff = aws_retry_backoff end |
Instance Attribute Details
#aws_retry_backoff ⇒ Object
Returns the value of attribute aws_retry_backoff.
17 18 19 |
# File 'lib/cfncli/config.rb', line 17 def aws_retry_backoff @aws_retry_backoff end |
#aws_retry_limit ⇒ Object
Returns the value of attribute aws_retry_limit.
16 17 18 |
# File 'lib/cfncli/config.rb', line 16 def aws_retry_limit @aws_retry_limit end |
#fail_on_noop ⇒ Object
Returns the value of attribute fail_on_noop.
15 16 17 |
# File 'lib/cfncli/config.rb', line 15 def fail_on_noop @fail_on_noop end |
#interval ⇒ Object
Returns the value of attribute interval.
13 14 15 |
# File 'lib/cfncli/config.rb', line 13 def interval @interval end |
#retries ⇒ Object
Returns the value of attribute retries.
14 15 16 |
# File 'lib/cfncli/config.rb', line 14 def retries @retries end |