Class: SmartRecruiters::InterviewTypesResource
- Inherits:
-
Resource
- Object
- Resource
- SmartRecruiters::InterviewTypesResource
show all
- Defined in:
- lib/smartrecruiters/resources/interview_types.rb
Instance Attribute Summary
Attributes inherited from Resource
#client
Instance Method Summary
collapse
Methods inherited from Resource
#initialize
Instance Method Details
#create(interview_types:) ⇒ Object
9
10
11
|
# File 'lib/smartrecruiters/resources/interview_types.rb', line 9
def create(interview_types:)
patch_request('interview-types', body: interview_types)
end
|
#delete(interview_type:) ⇒ Object
13
14
15
|
# File 'lib/smartrecruiters/resources/interview_types.rb', line 13
def delete(interview_type:)
delete_request("interview-types/#{interview_type}")
end
|
5
6
7
|
# File 'lib/smartrecruiters/resources/interview_types.rb', line 5
def list
get_request('interview-types').body
end
|