Class: Paperlex::Contract::Signatures

Inherits:
Base
  • Object
show all
Includes:
SubObject
Defined in:
lib/paperlex/contract/signatures.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from SubObject

#all, #create, #destroy, #find, #initialize, #new_object, #update

Methods inherited from Base

[], delete, get, #initialize, parse, post, put, #to_uuid

Class Method Details

.create_fieldsObject



7
8
9
# File 'lib/paperlex/contract/signatures.rb', line 7

def create_fields
  [:signer, :identity, :remote_ip, :user_agent]
end

Instance Method Details

#object_classObject



12
13
14
# File 'lib/paperlex/contract/signatures.rb', line 12

def object_class
  Paperlex::Signature
end

#short_nameObject



16
17
18
# File 'lib/paperlex/contract/signatures.rb', line 16

def short_name
  :signature
end