Class: Bob::Employee::Invites
- Inherits:
-
API
- Object
- API
- Bob::Employee::Invites
show all
- Defined in:
- lib/bob/api/employee/invites.rb
Constant Summary
Constants inherited
from API
API::BASE_URL
Class Method Summary
collapse
Methods inherited from API
build_url, content_headers, create_csv, delete, get, headers, post, put
Class Method Details
.revoke(employee_id) ⇒ Object
10
11
12
|
# File 'lib/bob/api/employee/invites.rb', line 10
def self.revoke(employee_id)
post("employees/#{employee_id}/uninvite")
end
|
.send(employee_id, wizard_id) ⇒ Object
6
7
8
|
# File 'lib/bob/api/employee/invites.rb', line 6
def self.send(employee_id, wizard_id)
post("employees/#{employee_id}/invitations", { welcomeWizardId: wizard_id })
end
|