Method: ApiTester::InjectionModule.check_response
- Defined in:
- lib/api-tester/modules/injection_module.rb
.check_response(response, endpoint) ⇒ Object
43 44 45 46 47 48 49 50 |
# File 'lib/api-tester/modules/injection_module.rb', line 43 def self.check_response(response, endpoint) if response.code == 200 || check_error(response, endpoint) print '.' return true end print 'F' false end |