Class: Splinter::Configuration
- Inherits:
-
Object
- Object
- Splinter::Configuration
- Defined in:
- lib/splinter/configuration.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
7 8 9 |
# File 'lib/splinter/configuration.rb', line 7 def initialize @api_key = 'PLEASE PROVIDE VALID API KEY' end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
5 6 7 |
# File 'lib/splinter/configuration.rb', line 5 def api_key @api_key end |