Class: We::Call::Configuration
- Inherits:
-
Object
- Object
- We::Call::Configuration
- Defined in:
- lib/we/call/configuration.rb
Instance Attribute Summary collapse
-
#app_env ⇒ Object
Returns the value of attribute app_env.
-
#app_env_header ⇒ Object
Returns the value of attribute app_env_header.
-
#app_name ⇒ Object
Returns the value of attribute app_name.
-
#app_name_header ⇒ Object
Returns the value of attribute app_name_header.
-
#detect_deprecations ⇒ Object
Returns the value of attribute detect_deprecations.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
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_env ⇒ Object
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_header ⇒ Object
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_name ⇒ Object
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_header ⇒ Object
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_deprecations ⇒ Object
Returns the value of attribute detect_deprecations.
7 8 9 |
# File 'lib/we/call/configuration.rb', line 7 def detect_deprecations @detect_deprecations end |