module RaygunClient::HTTP::Post::Substitute

Public Class Methods

build() click to toggle source
# File lib/raygun_client/http/post.rb, line 102
def self.build
  substitute = Substitute::Post.new

  sink = RaygunClient::HTTP::Post.register_telemetry_sink(substitute)
  substitute.sink = sink

  substitute
end