3 4 5 6 7 8 9 10
# File 'lib/nfagent/tests.rb', line 3 def self.run response = Client.post(:poller, Info.new.to_hash) if !response.ok? puts "Test Failed: #{response.message}" else puts "Tests PASSED!" end end