class Komoju::Tokens
Token resource
Public Class Methods
new(client)
click to toggle source
# File lib/komoju/client.rb, line 296 def initialize(client) @client = client end
Public Instance Methods
create(body = {})
click to toggle source
Create a token
@param body: the object to pass as the request payload
# File lib/komoju/client.rb, line 303 def create(body = {}) @client.tokens.create(body) end