Sha256: b17691ace8d19aba9610010464c09c60b9c8170e018fb80a6d3b8ffa6d2c1b04
Contents?: true
Size: 1.58 KB
Versions: 12
Compression:
Stored size: 1.58 KB
Contents
require 'puree/rest/mixins/active_mixin' require 'puree/rest/mixins/activity_mixin' require 'puree/rest/mixins/application_mixin' require 'puree/rest/mixins/award_mixin' require 'puree/rest/mixins/dataset_mixin' require 'puree/rest/mixins/former_mixin' require 'puree/rest/mixins/impact_mixin' require 'puree/rest/mixins/press_media_mixin' require 'puree/rest/mixins/prize_mixin' require 'puree/rest/mixins/project_mixin' require 'puree/rest/mixins/research_output_mixin' require 'puree/rest/mixins/student_thesis_mixin' module Puree module REST # Requests for the Person resource # # @note :id can be UUID, ID, Employee ID or HESA Staff ID class Person < Puree::REST::Base include Puree::REST::ActiveMixin include Puree::REST::ActivityMixin include Puree::REST::ApplicationMixin include Puree::REST::AwardMixin include Puree::REST::DatasetMixin include Puree::REST::FormerMixin include Puree::REST::ImpactMixin include Puree::REST::PressMediaMixin include Puree::REST::PrizeMixin include Puree::REST::ProjectMixin include Puree::REST::ResearchOutputMixin include Puree::REST::StudentThesisMixin # (see Puree::REST::Base#find) def curricula_vitae(id:, params: {}, accept: :xml) get_request_singleton_subcollection(id: id, subcollection: 'curricula-vitae', params: params, accept: accept) end private def collection 'persons' end end end end
Version data entries
12 entries across 12 versions & 1 rubygems