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