Class: TreezorConnect::Document

Inherits:
ApiResource show all
Extended by:
ApiOperations::Create, ApiOperations::Delete, ApiOperations::Fetch, ApiOperations::List, ApiOperations::Update
Defined in:
lib/treezor_connect/resources/document.rb

Constant Summary collapse

OBJECT_NAME =
'document'
OBJECT_KEY =
'documents'
OBJECT_PRIMARY_KEY =
'documentId'

Class Method Summary collapse

Methods included from ApiOperations::List

list

Methods included from ApiOperations::Fetch

fetch

Methods included from ApiOperations::Create

create

Methods included from ApiOperations::Update

update

Methods included from ApiOperations::Delete

delete

Methods inherited from ApiResource

custom_action

Methods included from ApiOperations::Request

included

Methods inherited from TreezorObject

constantize_object_class, construct_from, create_instance, define_readers, extract_id, #initialize, set_attributes, #to_hash

Constructor Details

This class inherits a constructor from TreezorConnect::TreezorObject

Class Method Details

.resource_urlObject



15
16
17
# File 'lib/treezor_connect/resources/document.rb', line 15

def self.resource_url
  '/v1/documents'
end