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.


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

def initialize
  @app_env_header = 'X-App-Env'
  @app_name_header = 'X-App-Name'
  @detect_deprecations = :active_support
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