Class: Seekr::Monitor

Inherits:
Object
  • Object
show all
Includes:
Client
Defined in:
lib/seekr/monitor.rb

Constant Summary

Constants included from Client

Client::BASE_URL

Instance Method Summary collapse

Methods included from Client

#get

Instance Method Details

#allObject



5
6
7
# File 'lib/seekr/monitor.rb', line 5

def all
  get("/searches")
end

#find(id) ⇒ Object



9
10
11
# File 'lib/seekr/monitor.rb', line 9

def find(id)
  get("/search", search_id: id)
end

#tags(id) ⇒ Object



13
14
15
# File 'lib/seekr/monitor.rb', line 13

def tags(id)
  get("/tags", search_id: id)
end