Class: DocuSign::DocumentPDF

Inherits:
DocuSignModel show all
Defined in:
lib/docu_sign/document_pdf.rb

Constant Summary collapse

ATTRIBUTES =
[:name, :pdf_bytes, :document_id, :document_type]

Instance Method Summary collapse

Methods inherited from DocuSignModel

#method_missing, #to_savon

Constructor Details

#initialize(attributes = {}) ⇒ DocumentPDF

Returns a new instance of DocumentPDF.



8
9
10
11
12
# File 'lib/docu_sign/document_pdf.rb', line 8

def initialize(attributes = {})
  ATTRIBUTES.each do |attr|
    self.send("#{attr}=", attributes[attr])
  end
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class DocuSign::DocuSignModel