Module: Teamlab::ProjectsSettings

Included in:
Project
Defined in:
lib/teamlab/modules/projects/projects_settings.rb

Overview

Module for projects settings methods

Instance Method Summary collapse

Instance Method Details

#projects_settingsHash

Returns Values of projects settings.

Returns:

  • (Hash)

    Values of projects settings



7
8
9
# File 'lib/teamlab/modules/projects/projects_settings.rb', line 7

def projects_settings
  @request.get(%w[settings])
end

#update_projects_settings(options = {}) ⇒ Hash

Updates the project settings with the parameters specified in the request

Parameters:

  • options (Hash) (defaults to: {})

    options to change Projects module settings

  • everebodyCanCreate (Hash)

    a customizable set of options

  • hideEntitiesInPausedProjects (Hash)

    a customizable set of options

  • startModule (Hash)

    a customizable set of options

  • folderId (Hash)

    a customizable set of options

Returns:

  • (Hash)

    Updated settings



18
19
20
# File 'lib/teamlab/modules/projects/projects_settings.rb', line 18

def update_projects_settings(options = {})
  @request.put(%w[settings], options)
end