Class: ZendeskTools::Command

Inherits:
Object
  • Object
show all
Includes:
Loggable
Defined in:
lib/zendesk-tools/command.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Loggable

#log, logger_for

Constructor Details

#initialize(client, args) ⇒ Command

Returns a new instance of Command.



9
10
11
12
# File 'lib/zendesk-tools/command.rb', line 9

def initialize(client, args)
  @client = client
  @args   = args
end

Class Method Details

.run(args) ⇒ Object



5
6
7
# File 'lib/zendesk-tools/command.rb', line 5

def self.run(args)
  new(ZendeskTools.client, args).run
end