Class: Puree::REST::Person
- Includes:
- ActiveMixin, ActivityMixin, ApplicationMixin, AwardMixin, DatasetMixin, FormerMixin, ImpactMixin, PressMediaMixin, PrizeMixin, ProjectMixin, ResearchOutputMixin, StudentThesisMixin
- Defined in:
- lib/puree/rest/person.rb
Overview
Note:
:id can be UUID, ID, Employee ID or HESA Staff ID
Requests for the Person resource
Instance Method Summary collapse
- #curricula_vitae(id:, params: {}, accept: :xml) ⇒ HTTP::Response
-
#initialize(config) ⇒ Person
constructor
A new instance of Person.
Methods included from StudentThesisMixin
Methods included from ResearchOutputMixin
Methods included from ProjectMixin
Methods included from PrizeMixin
Methods included from PressMediaMixin
Methods included from ImpactMixin
Methods included from FormerMixin
Methods included from DatasetMixin
Methods included from AwardMixin
Methods included from ApplicationMixin
Methods included from ActivityMixin
Methods included from ActiveMixin
Methods inherited from Base
#all, #find, #orderings, #renderings
Constructor Details
#initialize(config) ⇒ Person
Returns a new instance of Person.
36 37 38 |
# File 'lib/puree/rest/person.rb', line 36 def initialize(config) super end |
Instance Method Details
#curricula_vitae(id:, params: {}, accept: :xml) ⇒ HTTP::Response
41 42 43 44 45 46 |
# File 'lib/puree/rest/person.rb', line 41 def curricula_vitae(id:, params: {}, accept: :xml) get_request_singleton_subcollection(id: id, subcollection: 'curricula-vitae', params: params, accept: accept) end |