Sha256: 3d7e5de9f0c7ed1a6ccfab56fd194a3128b37d2e27b223590a4e821cde687b30
Contents?: true
Size: 459 Bytes
Versions: 21
Compression:
Stored size: 459 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
21 entries across 21 versions & 2 rubygems