Module: A2::Subcommand::Team
- Defined in:
- lib/a2/subcommands/team.rb
Defined Under Namespace
Classes: AddMembership, Create, Delete, Get, GetTeamsByMembership, ListAll, ListAllMembership, RemoveMembership, Update
Class Method Summary collapse
Class Method Details
.generate_team_json(id, name, project_ids) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/a2/subcommands/team.rb', line 4 def self.generate_team_json(id, name, project_ids) { 'id' => id, 'name' => name, 'projects' => project_ids.split(',') }.to_json end |