Class: We::Call::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/we/call/configuration.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

Returns a new instance of Configuration.



10
11
12
13
14
15
# File 'lib/we/call/configuration.rb', line 10

def initialize
  @app_env_header = 'X-App-Env'
  @app_name_header = 'X-App-Name'
  @retry = true
  @retry_options = {}
end

Instance Attribute Details

#app_envObject

Returns the value of attribute app_env.



7
8
9
# File 'lib/we/call/configuration.rb', line 7

def app_env
  @app_env
end

#app_env_headerObject

Returns the value of attribute app_env_header.



7
8
9
# File 'lib/we/call/configuration.rb', line 7

def app_env_header
  @app_env_header
end

#app_nameObject

Returns the value of attribute app_name.



7
8
9
# File 'lib/we/call/configuration.rb', line 7

def app_name
  @app_name
end

#app_name_headerObject

Returns the value of attribute app_name_header.



7
8
9
# File 'lib/we/call/configuration.rb', line 7

def app_name_header
  @app_name_header
end

#detect_deprecationsObject

Returns the value of attribute detect_deprecations.



7
8
9
# File 'lib/we/call/configuration.rb', line 7

def detect_deprecations
  @detect_deprecations
end

#retryObject

Returns the value of attribute retry.



7
8
9
# File 'lib/we/call/configuration.rb', line 7

def retry
  @retry
end

#retry_optionsObject

Returns the value of attribute retry_options.



7
8
9
# File 'lib/we/call/configuration.rb', line 7

def retry_options
  @retry_options
end