Class: DPL::Provider::Script
- Inherits:
-
DPL::Provider
- Object
- DPL::Provider
- DPL::Provider::Script
- Defined in:
- lib/dpl/provider/script.rb
Instance Method Summary collapse
Instance Method Details
#check_app ⇒ Object
7 8 |
# File 'lib/dpl/provider/script.rb', line 7 def check_app end |
#check_auth ⇒ Object
4 5 |
# File 'lib/dpl/provider/script.rb', line 4 def check_auth end |
#needs_key? ⇒ Boolean
10 11 12 |
# File 'lib/dpl/provider/script.rb', line 10 def needs_key? false end |
#push_app ⇒ Object
14 15 16 17 18 19 |
# File 'lib/dpl/provider/script.rb', line 14 def push_app context.shell script if $?.exitstatus != 0 raise Error, "Script failed with status #{$?.exitstatus}" end end |
#script ⇒ Object
21 22 23 |
# File 'lib/dpl/provider/script.rb', line 21 def script [:script] end |