Class: Lunker::Configuration
- Inherits:
-
Object
- Object
- Lunker::Configuration
- Defined in:
- lib/lunker.rb
Instance Attribute Summary collapse
-
#api_key ⇒ Object
Returns the value of attribute api_key.
-
#filter ⇒ Object
Returns the value of attribute filter.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
22 23 24 25 26 |
# File 'lib/lunker.rb', line 22 def initialize @api_key = "bb855F7mbVFTS9Jwe69THg((" # Default filter: we want the titles and bodies of questions, answers, comments @filter = "!T5FUCxHumN2QdgS1Nc" end |
Instance Attribute Details
#api_key ⇒ Object
Returns the value of attribute api_key.
20 21 22 |
# File 'lib/lunker.rb', line 20 def api_key @api_key end |
#filter ⇒ Object
Returns the value of attribute filter.
20 21 22 |
# File 'lib/lunker.rb', line 20 def filter @filter end |