Class: CatClaw::StackOverFlowCat

Inherits:
Object
  • Object
show all
Defined in:
lib/cat_claw/cats/stack_over_flow_cat.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStackOverFlowCat

Returns a new instance of StackOverFlowCat.



7
8
9
10
11
12
13
# File 'lib/cat_claw/cats/stack_over_flow_cat.rb', line 7

def initialize
  @base_url = "http://careers.stackoverflow.com"
  @footprint = {
    source: "RubyChina",
    jobs: [],
  }
end

Instance Attribute Details

#footprintObject

Returns the value of attribute footprint.



6
7
8
# File 'lib/cat_claw/cats/stack_over_flow_cat.rb', line 6

def footprint
  @footprint
end

Instance Method Details

#pawObject



15
16
17
18
# File 'lib/cat_claw/cats/stack_over_flow_cat.rb', line 15

def paw
  whisper
  @footprint
end