class LibLynxAPI::Token
Public Class Methods
new(client)
click to toggle source
# File lib/liblynx-api/client.rb, line 302 def initialize(client) @client = client end
Public Instance Methods
create(body = {})
click to toggle source
Create a new oauth2 token
@param body: the object to pass as the request payload
# File lib/liblynx-api/client.rb, line 309 def create(body = {}) @client.token.create(body) end