Method: Webhookdb::Oauth::Tokens#initialize
- Defined in:
- lib/webhookdb/oauth.rb
#initialize(**kwargs) ⇒ Tokens
Returns a new instance of Tokens.
7 8 9 10 11 |
# File 'lib/webhookdb/oauth.rb', line 7 def initialize(**kwargs) super self.typecheck!(:access_token, String) self.typecheck!(:refresh_token, String, nullable: true) end |