class Puree::REST::Person

Requests for the Person resource

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

Public Instance Methods

curricula_vitae(id:, params: {}, accept: :xml) click to toggle source

(see Puree::REST::Base#find)

# 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

Private Instance Methods

collection() click to toggle source
# File lib/puree/rest/person.rb, line 45
def collection
  'persons'
end