class Clerk::Resources::Clients

Public Class Methods

new(client) click to toggle source
# File lib/clerk/resources/clients.rb, line 9
def initialize(client)
  @client = client
  @resource = PluralResource.new(client, "clients")
end

Public Instance Methods

verify_token(token) click to toggle source
# File lib/clerk/resources/clients.rb, line 14
def verify_token(token)
  @client.request(:post, "#{@resource.collection_path}/verify",
                  body: {token: token})
end