Class: ZendeskTools::Command
- Inherits:
-
Object
- Object
- ZendeskTools::Command
- Includes:
- Loggable
- Defined in:
- lib/zendesk-tools/command.rb
Direct Known Subclasses
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(client, args) ⇒ Command
constructor
A new instance of Command.
Methods included from Loggable
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 |