Module: Travis::Client::Restartable
Instance Method Summary collapse
Instance Method Details
#cancel ⇒ Object
20 21 22 |
# File 'lib/travis/client/restartable.rb', line 20 def cancel session.cancel(self) end |
#cancelable? ⇒ Boolean
16 17 18 |
# File 'lib/travis/client/restartable.rb', line 16 def cancelable? true end |
#restart ⇒ Object
12 13 14 |
# File 'lib/travis/client/restartable.rb', line 12 def restart session.restart(self) end |
#restartable? ⇒ Boolean
8 9 10 |
# File 'lib/travis/client/restartable.rb', line 8 def restartable? true end |