Class: Puree::REST::OrganisationalUnit

Inherits:
Base
  • Object
show all
Includes:
ActiveMixin, ActivityMixin, ApplicationMixin, AwardMixin, DatasetMixin, FormerMixin, ImpactMixin, PersonMixin, PressMediaMixin, PrizeMixin, ProjectMixin, ResearchOutputMixin, StudentThesisMixin
Defined in:
lib/puree/rest/organisational_unit.rb

Overview

Requests for the Organisational Unit 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 PersonMixin

#persons

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, #find, #orderings, #renderings

Constructor Details

#initialize(config) ⇒ OrganisationalUnit

Returns a new instance of OrganisationalUnit.

Parameters:

  • config (Hash)

Options Hash (config):

  • :url (String)

    URL of the Pure host

  • :username (String)

    Username of the Pure host account

  • :password (String)

    Password of the Pure host account

  • :api_key (String)

    API key of the Pure host account



37
38
39
# File 'lib/puree/rest/organisational_unit.rb', line 37

def initialize(config)
  super
end