Skip to content

Commit deea1ea

Browse files
committed
Add comments to rbs files
1 parent 2a15002 commit deea1ea

2 files changed

Lines changed: 20 additions & 0 deletions

File tree

generator/src/main/resources/line-bot-sdk-ruby-rbs-generator/body/api/ChannelAccessTokenClient.rbs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
1+
# Issues a new stateless channel access token by JWT assertion.
2+
# This is a convenience wrapper that only requires the parameters needed for JWT assertion authentication.
13
def issue_stateless_channel_token_by_jwt_assertion: (
24
client_assertion: String
35
) -> (
46
IssueStatelessChannelAccessTokenResponse # when HTTP status code is 200
57
| String? # otherwise
68
)
79

10+
# Issues a new stateless channel access token by client secret.
11+
# This is a convenience wrapper that only requires the parameters needed for client secret authentication.
812
def issue_stateless_channel_token_by_client_secret: (
913
client_id: String,
1014
client_secret: String
@@ -13,13 +17,19 @@
1317
| String? # otherwise
1418
)
1519

20+
# Issues a new stateless channel access token by JWT assertion.
21+
# This is a convenience wrapper that only requires the parameters needed for JWT assertion authentication.
22+
# When you want to get HTTP status code or response headers, use this instead of #issue_stateless_channel_token_by_jwt_assertion.
1623
def issue_stateless_channel_token_by_jwt_assertion_with_http_info: (
1724
client_assertion: String
1825
) -> (
1926
[IssueStatelessChannelAccessTokenResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
2027
| [String?, Integer, Hash[untyped, untyped]] # otherwise
2128
)
2229

30+
# Issues a new stateless channel access token by client secret.
31+
# This is a convenience wrapper that only requires the parameters needed for client secret authentication.
32+
# When you want to get HTTP status code or response headers, use this instead of #issue_stateless_channel_token_by_client_secret.
2333
def issue_stateless_channel_token_by_client_secret_with_http_info: (
2434
client_id: String,
2535
client_secret: String

sig/line/bot/v2/channel_access_token/api/channel_access_token_client.rbs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,13 +320,17 @@ module Line
320320
VerifyChannelAccessTokenResponse # when HTTP status code is 200
321321
| String? # otherwise
322322
)
323+
# Issues a new stateless channel access token by JWT assertion.
324+
# This is a convenience wrapper that only requires the parameters needed for JWT assertion authentication.
323325
def issue_stateless_channel_token_by_jwt_assertion: (
324326
client_assertion: String
325327
) -> (
326328
IssueStatelessChannelAccessTokenResponse # when HTTP status code is 200
327329
| String? # otherwise
328330
)
329331

332+
# Issues a new stateless channel access token by client secret.
333+
# This is a convenience wrapper that only requires the parameters needed for client secret authentication.
330334
def issue_stateless_channel_token_by_client_secret: (
331335
client_id: String,
332336
client_secret: String
@@ -335,13 +339,19 @@ module Line
335339
| String? # otherwise
336340
)
337341

342+
# Issues a new stateless channel access token by JWT assertion.
343+
# This is a convenience wrapper that only requires the parameters needed for JWT assertion authentication.
344+
# When you want to get HTTP status code or response headers, use this instead of #issue_stateless_channel_token_by_jwt_assertion.
338345
def issue_stateless_channel_token_by_jwt_assertion_with_http_info: (
339346
client_assertion: String
340347
) -> (
341348
[IssueStatelessChannelAccessTokenResponse, 200, Hash[untyped, untyped]] # when HTTP status code is 200
342349
| [String?, Integer, Hash[untyped, untyped]] # otherwise
343350
)
344351

352+
# Issues a new stateless channel access token by client secret.
353+
# This is a convenience wrapper that only requires the parameters needed for client secret authentication.
354+
# When you want to get HTTP status code or response headers, use this instead of #issue_stateless_channel_token_by_client_secret.
345355
def issue_stateless_channel_token_by_client_secret_with_http_info: (
346356
client_id: String,
347357
client_secret: String

0 commit comments

Comments
 (0)