Sha256: e016de2f7a46abeb44469b10cff51b318eba1c97712f26a4c79d1ef5036667ee
Contents?: true
Size: 460 Bytes
Versions: 6
Compression:
Stored size: 460 Bytes
Contents
# typed: 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
6 entries across 6 versions & 1 rubygems