Class: Lunker::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/lunker.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_keyObject

Returns the value of attribute api_key.



20
21
22
# File 'lib/lunker.rb', line 20

def api_key
  @api_key
end

#filterObject

Returns the value of attribute filter.



20
21
22
# File 'lib/lunker.rb', line 20

def filter
  @filter
end