Skip to content

Commit cfbee29

Browse files
committed
NO-ISSUE Add types for sig/line/bot/v2/*.rb
1 parent 01051c4 commit cfbee29

3 files changed

Lines changed: 37 additions & 0 deletions

File tree

sig/line/bot/v2/reserved_words.rbs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module Line
2+
module Bot
3+
module V2
4+
RESERVED_WORDS: Array[Symbol]
5+
end
6+
end
7+
end

sig/line/bot/v2/utils.rbs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
module Line
2+
module Bot
3+
module V2
4+
module Utils
5+
def self.deep_underscore: (Hash[untyped, untyped]) -> Hash[Symbol, untyped]
6+
7+
def self.deep_symbolize: (untyped) -> untyped
8+
9+
def self.deep_to_hash: (untyped) -> untyped
10+
11+
def self.deep_camelize: (untyped) -> untyped
12+
13+
def self.deep_compact: (untyped) -> untyped
14+
15+
def self.deep_convert_reserved_words: (untyped) -> untyped
16+
17+
def self.hash_to_struct: (Hash[untyped, untyped]) -> ::Struct[untyped]
18+
19+
def self.camelize: (String | Symbol) -> String
20+
end
21+
end
22+
end
23+
end

sig/line/bot/v2/version.rbs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module Line
2+
module Bot
3+
module V2
4+
VERSION: String
5+
end
6+
end
7+
end

0 commit comments

Comments
 (0)