Sha256: a6108707eb614890e0fe7ff6bef8520753e27c3809ef88122ce9e0fa99c35fa8
Contents?: true
Size: 303 Bytes
Versions: 1
Compression:
Stored size: 303 Bytes
Contents
require 'tester/util/supported_verbs' require 'rest-client' require 'tester/definition/methods/api_method' class ApiTrace < ApiMethod def call url, params={}, headers={} RestClient::Request.execute(method: :trace, url: url, headers: headers) end def verb SupportedVerbs::TRACE end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
api-tester-0.0.5 | lib/tester/definition/methods/api_trace.rb |