From 6eae2d17df8e428db651007da954e805db1841f7 Mon Sep 17 00:00:00 2001 From: Toby Pinder Date: Fri, 7 Jul 2017 12:24:45 +0100 Subject: [PATCH] Correct use of Datadog;:Pin object in doc example There is no class level `onto` method - it appears from my troubleshooting that one uses `pin#onto` instead (which makes sense, since the method assigns the `pin` variable). --- docs/GettingStarted.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md index 643d6a1a7ab..f49cd040a34 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -440,7 +440,7 @@ You can use this object to instrument your own code: class MyWebSite def initialize pin = Datadog::Pin.new('my-web-site', app_type: Datadog::Ext::AppTypes::WEB) - Datadog::Pin.onto(self) + pin.onto(self) end def serve(something)