class A2::Subcommand::Team::Get
Public Class Methods
new()
click to toggle source
Calls superclass method
# File lib/a2/subcommands/team.rb, line 31 def initialize super('get-team', takes_commands: false) end
Public Instance Methods
execute(id)
click to toggle source
# File lib/a2/subcommands/team.rb, line 35 def execute(id) puts JSON.pretty_generate(A2::Client.new(command_parser.data).get_team(id)) end