We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d07edeb commit 2300305Copy full SHA for 2300305
gems/signet/0.19/_test/test.rb
@@ -8,3 +8,12 @@
8
9
class MyClient < Signet::OAuth2::Client
10
end
11
+
12
+client = Signet::OAuth2::Client.new({
13
+ :authorization_uri => 'https://example.com/authorization',
14
+ :token_credential_uri => 'https://example.com/token',
15
+ :client_id => 'my_client_id',
16
+ :client_secret => 'my_client_secret',
17
+ :scope => 'example',
18
+ :redirect_uri => 'https://example.com/oauth'
19
+})
gems/signet/0.19/signet.rbs
@@ -4,6 +4,7 @@ module Signet
4
5
module OAuth2
6
class Client
7
+ def initialize: (?Hash[Symbol, untyped] options) -> void
0 commit comments