Class: Impersonator::Configuration
- Inherits:
-
Struct
- Object
- Struct
- Impersonator::Configuration
- Defined in:
- lib/impersonator/configuration.rb
Overview
General configuration settings for Impersonator
Constant Summary collapse
- DEFAULT_RECORDINGS_FOLDER =
'recordings'.freeze
Instance Attribute Summary collapse
-
#recordings_path ⇒ Object
The path where recordings are saved to.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
8 9 10 11 |
# File 'lib/impersonator/configuration.rb', line 8 def initialize(*) super self.recordings_path ||= detect_default_recordings_path end |
Instance Attribute Details
#recordings_path ⇒ Object
The path where recordings are saved to
3 4 5 |
# File 'lib/impersonator/configuration.rb', line 3 def recordings_path @recordings_path end |