Skip to content

Commit 6097536

Browse files
committed
Add missing typing for extracted Rails patch
1 parent a62460a commit 6097536

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

sig/datadog/appsec/contrib/rails/patcher.rbs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ module Datadog
1919

2020
def self?.add_middleware: (untyped app) -> untyped
2121

22-
module ProcessActionPatch
23-
def process_action: (*untyped args) -> untyped
24-
end
25-
26-
def self?.patch_process_action: () -> untyped
27-
2822
def self?.include_middleware?: (untyped middleware, untyped app) -> untyped
2923

3024
def self?.inspect_middlewares: (untyped app) -> untyped
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module Datadog
2+
module AppSec
3+
module Contrib
4+
module Rails
5+
module Patches
6+
module ProcessActionPatch
7+
def process_action: (*untyped args) -> untyped
8+
end
9+
end
10+
end
11+
end
12+
end
13+
end

0 commit comments

Comments
 (0)