Sha256: 56cc49bfec49f92f775248cde7fe7827991fcbc1953a03967c1c7e0b4e346720
Contents?: true
Size: 726 Bytes
Versions: 13
Compression:
Stored size: 726 Bytes
Contents
module Checkr class Invitation < APIResource attribute :uri attribute :invitation_url attribute :status attribute :created_at attribute :expires_at attribute :completed_at attribute :deleted_at attribute :package attribute :candidate, :Candidate attribute_writer_alias :candidate_id, :candidate api_class_method :all, :get, constructor: APIList.constructor(:Invitation) api_class_method :retrieve, :get, ':path/:id', arguments: [:id] api_class_method :create, :post api_class_method :cancel, :delete, ':path/:id', arguments: [:id] def self.path '/v1/invitations' end APIClass.register_subclass(self, 'invitation') end end
Version data entries
13 entries across 13 versions & 1 rubygems