class TerraformEnterprise::CommandLine::Commands::TeamsCommand
Constants
- ATTR_STR
- CMD_STR
Public Instance Methods
create(name)
click to toggle source
# File lib/terraform_enterprise/command_line/commands/teams.rb, line 19 def create(name) render client.teams.create(name: name, organization: options[:organization]) end
delete(id)
click to toggle source
# File lib/terraform_enterprise/command_line/commands/teams.rb, line 29 def delete(id) render client.teams.delete(id: id), except: [:permissions] end
get(id)
click to toggle source
# File lib/terraform_enterprise/command_line/commands/teams.rb, line 24 def get(id) render client.teams.get(id:id), except: [:permissions] end
list()
click to toggle source
# File lib/terraform_enterprise/command_line/commands/teams.rb, line 13 def list render client.teams.list(organization: options[:organization]), except: [:permissions] end