Module: Teamlab::ProjectsTags

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

Overview

Module for projects tags methods

Instance Method Summary collapse

Instance Method Details

#get_project_by_tag(tag) ⇒ Object



10
11
12
# File 'lib/teamlab/modules/projects/projects_tags.rb', line 10

def get_project_by_tag(tag)
  @request.get(['tag', tag.to_s])
end

#get_project_tagsObject



6
7
8
# File 'lib/teamlab/modules/projects/projects_tags.rb', line 6

def get_project_tags
  @request.get(%w[tag])
end

#get_tags_by_name(tag_name) ⇒ Object



14
15
16
# File 'lib/teamlab/modules/projects/projects_tags.rb', line 14

def get_tags_by_name(tag_name)
  @request.get(%w[tag search], tagName: tag_name)
end