Class: Puree::REST::Person

Overview

Note:

:id can be UUID, ID, Employee ID or HESA Staff ID

Requests for the Person resource

Instance Method Summary collapse

Methods included from StudentThesisMixin

#student_theses

Methods included from ResearchOutputMixin

#research_outputs

Methods included from ProjectMixin

#projects

Methods included from PrizeMixin

#prizes

Methods included from PressMediaMixin

#press_media

Methods included from ImpactMixin

#impacts

Methods included from FormerMixin

#former

Methods included from DatasetMixin

#datasets

Methods included from AwardMixin

#awards

Methods included from ApplicationMixin

#applications

Methods included from ActivityMixin

#activities

Methods included from ActiveMixin

#active

Methods inherited from Base

#all, #all_complex, #find, #initialize, #orderings, #renderings

Constructor Details

This class inherits a constructor from Puree::REST::Base

Instance Method Details

#curricula_vitae(id:, params: {}, accept: :xml) ⇒ HTTP::Response

Parameters:

  • id (String)
  • params (Hash) (defaults to: {})
  • accept (Symbol) (defaults to: :xml)

Returns:

  • (HTTP::Response)


36
37
38
39
40
41
# File 'lib/puree/rest/person.rb', line 36

def curricula_vitae(id:, params: {}, accept: :xml)
  get_request_singleton_subcollection(id: id,
                                   subcollection: 'curricula-vitae',
                                   params: params,
                                   accept: accept)
end