Class: Truework::VerificationRequest

Inherits:
APIResource
  • Object
show all
Extended by:
APIOperations::Cancel, APIOperations::Create, APIOperations::List, APIOperations::Retrieve
Defined in:
lib/truework/resources/verification_request.rb

Class Method Summary collapse

Methods included from APIOperations::Create

create

Methods included from HTTPRequest

#delete, #get, #post, #put, #request

Methods included from APIOperations::Cancel

cancel, instance_url

Methods included from APIOperations::List

list

Methods included from APIOperations::Retrieve

instance_url, retrieve

Methods inherited from APIResource

convert_to_truework_object

Class Method Details

.cancel(id, cancellation_reason, details) ⇒ Object



30
31
32
# File 'lib/truework/resources/verification_request.rb', line 30

def self.cancel(id, cancellation_reason, details)
  super(id, { 'cancellation_reason' => cancellation_reason, 'cancellation_details' => details })
end

.resource_pathObject



26
27
28
# File 'lib/truework/resources/verification_request.rb', line 26

def self.resource_path
  '/verification-requests/'
end