Class: Avm::Issue::Unblock
- Inherits:
-
Object
- Object
- Avm::Issue::Unblock
- Defined in:
- lib/avm/issue/unblock.rb
Instance Method Summary collapse
-
#initialize(issue) ⇒ Unblock
constructor
A new instance of Unblock.
- #run ⇒ Object
Constructor Details
#initialize(issue) ⇒ Unblock
Returns a new instance of Unblock.
6 7 8 |
# File 'lib/avm/issue/unblock.rb', line 6 def initialize(issue) @issue = issue end |
Instance Method Details
#run ⇒ Object
10 11 12 13 14 15 16 17 18 |
# File 'lib/avm/issue/unblock.rb', line 10 def run msg = unblock? if msg Rails.logger.debug(msg) else Rails.logger.debug("##{@issue.id} has no open dependencies. Unblocking...") unblock end end |