class Webull::Tokens
Tokens
object describes a full set of API tokens
Attributes
access[R]
refresh[R]
Public Class Methods
from_resp(resp)
click to toggle source
# File lib/webull/authenticator.rb, line 16 def self.from_resp(resp) Tokens.new( access: resp['accessToken'], refresh: resp['refreshToken'] ) end
new(params = {})
click to toggle source
# File lib/webull/authenticator.rb, line 11 def initialize(params = {}) @access = params[:access] @refresh = params[:refresh] end