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
-
#projects_settings ⇒ Hash
Values of projects settings.
-
#update_projects_settings(options = {}) ⇒ Hash
Updates the project settings with the parameters specified in the request.
Instance Method Details
#projects_settings ⇒ Hash
Returns 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
18 19 20 |
# File 'lib/teamlab/modules/projects/projects_settings.rb', line 18 def update_projects_settings( = {}) @request.put(%w[settings], ) end |