class BRL::Auth::Token

Attributes

access_token[R]
created_at[R]
expires_in[R]
refresh_token[R]
scope[R]
token_type[R]

Public Class Methods

new(access_token: nil, created_at: Time.now.zone, expires_in: nil, refresh_token: nil, scope: nil, token_type: nil) click to toggle source
# File lib/brl/auth/token.rb, line 8
def initialize(access_token: nil, created_at: Time.now.zone, expires_in: nil, refresh_token: nil, scope: nil, token_type: nil)
  @access_token  = access_token
  @created_at    = created_at
  @expires_in    = expires_in
  @refresh_token = refresh_token
  @scope         = scope
  @token_type    = token_type
end