Class: Board::Client::Candidates

Inherits:
API
  • Object
show all
Defined in:
lib/board/client/candidates.rb

Instance Method Summary collapse

Methods inherited from API

#get, #initialize, #post

Constructor Details

This class inherits a constructor from Board::Client::API

Instance Method Details

#find(id) ⇒ Object



4
5
6
# File 'lib/board/client/candidates.rb', line 4

def find(id)
  get("/candidates/#{id}")
end

#invite(attributes) ⇒ Object



8
9
10
# File 'lib/board/client/candidates.rb', line 8

def invite(attributes)
  post("/candidate_invitations", attributes)
end