Class: Geera::Commands::Resolve
- Defined in:
- lib/geera/commands/resolve.rb
Instance Attribute Summary
Attributes inherited from Command
#argv, #config, #geera, #number
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from Geera::Commands::Command
Class Method Details
.handle?(command) ⇒ Boolean
4 5 6 |
# File 'lib/geera/commands/resolve.rb', line 4 def self.handle? command 'resolve' == command end |
Instance Method Details
#execute! ⇒ Object
8 9 10 |
# File 'lib/geera/commands/resolve.rb', line 8 def execute! ticket.resolve! end |