class Clearbit::Watchlist::Candidate
Public Class Methods
all(values)
click to toggle source
# File lib/clearbit/watchlist.rb, line 27 def self.all(values) response = get('', values) self.new(response) end
create(values)
click to toggle source
# File lib/clearbit/watchlist.rb, line 32 def self.create(values) response = post('', values) self.new(response) end
find(id, values)
click to toggle source
# File lib/clearbit/watchlist.rb, line 22 def self.find(id, values) response = get(id, values) self.new(response) end
Public Instance Methods
destroy()
click to toggle source
# File lib/clearbit/watchlist.rb, line 37 def destroy self.class.delete(id) end