Sha256: fdf8fe8bf9ae8a9c1721107b140e17e0e22ec0cacbcdd02d172142b9d3829ce2
Contents?: true
Size: 477 Bytes
Versions: 8
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true require 'json' module Datadog module Transport module HTTP module API # Endpoint class Endpoint attr_reader \ :verb, :path def initialize(verb, path) @verb = verb @path = path end def call(env) env.verb = verb env.path = path yield(env) end end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems