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-1.0 lib/right_chimp/exec/ExecCallback.rb