Class: CatClaw::WeWorkRemotelyCat

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeWeWorkRemotelyCat

Returns a new instance of WeWorkRemotelyCat.



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

def initialize
  @base_url = "https://weworkremotely.com"
  @footprint = {
    source: "37Signal",
    jobs: [],
  }
end

Instance Attribute Details

#footprintObject

Returns the value of attribute footprint.



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

def footprint
  @footprint
end

Instance Method Details

#pawObject



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

def paw
  whisper "/categories/1/jobs", "design"
  whisper "/categories/2/jobs", "developer"
  @footprint
end