class Doorkeeper::OAuth::ClientCredentialsRequest::Creator

def call(client, scopes, attributes = {})

def call(client, scopes, attributes = {})
  AccessToken.create(attributes.merge(
    application_id: client.id,
    scopes: scopes.to_s
  ))
end