class Token

Attributes

token[R]

Public Class Methods

new() click to toggle source
# File lib/ft_42.rb, line 169
def initialize
  client = OAuth2::Client.new(UID_42, SECRET_42, site: URL_42)
  @token = client.client_credentials.get_token
end