class TerraformEnterprise::CommandLine::Commands::OrganizationsCommand
Constants
- CMD_STR
Public Instance Methods
create(name, email)
click to toggle source
# File lib/terraform_enterprise/command_line/commands/organizations.rb, line 16 def create(name, email) render client.organizations.create(name: name, email: email) end
delete(name)
click to toggle source
# File lib/terraform_enterprise/command_line/commands/organizations.rb, line 26 def delete(name) render client.organizations.delete(name:name) end
get(name)
click to toggle source
# File lib/terraform_enterprise/command_line/commands/organizations.rb, line 21 def get(name) render client.organizations.get(name:name) end
list()
click to toggle source
# File lib/terraform_enterprise/command_line/commands/organizations.rb, line 11 def list render client.organizations.list, only: [:id, :name, 'created-at', :email] end