Module: RubyLokaliseApi::Rest::PermissionTemplates

Included in:
RubyLokaliseApi::Rest
Defined in:
lib/ruby_lokalise_api/rest/permission_templates.rb

Instance Method Summary collapse

Instance Method Details

#permission_templates(team_id) ⇒ RubyLokaliseApi::Collections::PermissionTemplates

Returns permission tempates for a team



11
12
13
14
15
16
17
18
# File 'lib/ruby_lokalise_api/rest/permission_templates.rb', line 11

def permission_templates(team_id)
  name = 'PermissionTemplates'
  params = { query: team_id }

  data = endpoint(name: name, params: params).do_get

  collection name, data
end