Sha256: 12f12f9624feea7dbbf3b87389b95a42f362079b56c642852b9bb78b39fbe6d2
Contents?: true
Size: 458 Bytes
Versions: 10
Compression:
Stored size: 458 Bytes
Contents
module Skylight module Formatters module HTTP def self.build_opts(method, scheme, host, port, path, query) { category: "api.http.#{method.downcase}", title: "#{method.upcase} #{host}", annotations: { method: method.upcase, scheme: scheme, host: host, port: port ? port.to_i : nil, path: path, query: query }} end end end end
Version data entries
10 entries across 10 versions & 1 rubygems