Class: ATS::CLI::AMP4E::Groups

Inherits:
Command
  • Object
show all
Defined in:
lib/ats/cli/amp4e/groups.rb

Instance Method Summary collapse

Methods inherited from Command

printable_commands

Instance Method Details

#listObject



6
7
8
# File 'lib/ats/cli/amp4e/groups.rb', line 6

def list
  print_json api.groups.list
end

#show(id) ⇒ Object



11
12
13
# File 'lib/ats/cli/amp4e/groups.rb', line 11

def show(id)
  print_json api.groups.show(id)
end