Class: CfnCli::Config::CfnClient

Inherits:
Object
  • Object
show all
Defined in:
lib/cfncli/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_backoffObject

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_limitObject

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_noopObject

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

#intervalObject

Returns the value of attribute interval.



13
14
15
# File 'lib/cfncli/config.rb', line 13

def interval
  @interval
end

#retriesObject

Returns the value of attribute retries.



14
15
16
# File 'lib/cfncli/config.rb', line 14

def retries
  @retries
end