Sha256: 55f1db3f8b115b03a9b54020ff2df32f146b547a56cb004b455f562a4281f670

Contents?: true

Size: 251 Bytes

Versions: 41

Compression:

Stored size: 251 Bytes

Contents

#
# Run an SSH script
#
module Chimp
  class ExecCallback < Executor
    def run
      response = RestClient.get @uri
      if response.code > 199 and response.code < 300
        return true
      else
        return false
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
right_chimp-2.1.28 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.27 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.26 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.25.2 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.25 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.24 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.22.2 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.22.1 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.22 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.21 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.19.1 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.19 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.18 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.17 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.15 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.14 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.13 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.12 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.10 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.8 lib/right_chimp/exec/ExecCallback.rb