Class: Phantomblaster::Configuration
- Inherits:
-
Object
- Object
- Phantomblaster::Configuration
- Defined in:
- lib/phantomblaster.rb
Overview
Class that holds the config state for the gem. Define each config option with a getter/setter.
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#scripts_dir ⇒ Object
Returns the value of attribute scripts_dir.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
23 24 25 26 |
# File 'lib/phantomblaster.rb', line 23 def initialize @api_key = '' @scripts_dir = '' end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
21 22 23 |
# File 'lib/phantomblaster.rb', line 21 def api_key @api_key end |
#scripts_dir ⇒ Object
Returns the value of attribute scripts_dir.
21 22 23 |
# File 'lib/phantomblaster.rb', line 21 def scripts_dir @scripts_dir end |