Sha256: 9c4a37291e31b218514508b061433d0cf91c4a260ee053c76d88445599ba44fd
Contents?: true
Size: 478 Bytes
Versions: 36
Compression:
Stored size: 478 Bytes
Contents
require "forwardable" require_relative "plural_resource" module Clerk module Resources class Clients extend Forwardable def initialize(client) @client = client @resource = PluralResource.new(client, "clients") end def verify_token(token) @client.request(:post, "#{@resource.collection_path}/verify", body: {token: token}) end def_delegators :@resource, :all, :find end end end
Version data entries
36 entries across 36 versions & 1 rubygems