Class: Phantomblaster::Configuration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

Returns the value of attribute api_key.



21
22
23
# File 'lib/phantomblaster.rb', line 21

def api_key
  @api_key
end

#scripts_dirObject

Returns the value of attribute scripts_dir.



21
22
23
# File 'lib/phantomblaster.rb', line 21

def scripts_dir
  @scripts_dir
end