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.7 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.6 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.5 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.4 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.3 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.2 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.1.0 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.0.2 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.0.1 lib/right_chimp/exec/ExecCallback.rb
right_chimp-2.0 lib/right_chimp/exec/ExecCallback.rb
right_chimp-1.1.3 lib/right_chimp/exec/ExecCallback.rb
right_chimp-1.1.2 lib/right_chimp/exec/ExecCallback.rb
right_chimp-1.1.1 lib/right_chimp/exec/ExecCallback.rb
right_chimp-1.1.0 lib/right_chimp/exec/ExecCallback.rb
right_chimp-1.0.9 lib/right_chimp/exec/ExecCallback.rb
right_chimp-1.0.8 lib/right_chimp/exec/ExecCallback.rb
right_chimp-1.0.7 lib/right_chimp/exec/ExecCallback.rb
right_chimp-1.0.3 lib/right_chimp/exec/ExecCallback.rb
right_chimp-1.0.2 lib/right_chimp/exec/ExecCallback.rb
right_chimp-1.0.1 lib/right_chimp/exec/ExecCallback.rb