class RestPki::PdfMarkerModel

Attributes

file_content[R]
mime_type[R]

Public Class Methods

new(model, _) click to toggle source
# File lib/rest_pki/resources/pdf_marker_model.rb, line 6
def initialize(model, _)
  file = model['file']
  @file_content = Base64.decode64(file['content'])
  @mime_type = file['mimeType']
end