Sha256: 0f04d21121501d81b6f36bdab273ee4d30f92efff75ddd5cdce48179632b2824

Contents?: true

Size: 250 Bytes

Versions: 7

Compression:

Stored size: 250 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
right_chimp-2.4 lib/right_chimp/exec/exec_callback.rb
right_chimp-2.3.2 lib/right_chimp/exec/exec_callback.rb
right_chimp-2.3.1 lib/right_chimp/exec/exec_callback.rb
right_chimp-2.3 lib/right_chimp/exec/exec_callback.rb
right_chimp-2.2.2 lib/right_chimp/exec/exec_callback.rb
right_chimp-2.2.1 lib/right_chimp/exec/exec_callback.rb
right_chimp-2.2 lib/right_chimp/exec/exec_callback.rb