class Ilovepdf::Tool::ValidatePdfa
Constants
- API_PARAMS
- CONFORMANCE_VALUES
Public Class Methods
new(public_key, secret_key)
click to toggle source
Calls superclass method
Ilovepdf::Task::new
# File lib/ilovepdf/tool/validate_pdfa.rb, line 11 def initialize(public_key, secret_key) self.tool = :validatepdfa super(public_key, secret_key) end
Public Instance Methods
conformance()
click to toggle source
# File lib/ilovepdf/tool/validate_pdfa.rb, line 21 def conformance @conformance ||= 'pdfa-2b' end
conformance=(new_val)
click to toggle source
# File lib/ilovepdf/tool/validate_pdfa.rb, line 16 def conformance= new_val raise Errors::ArgumentEnumError.new(CONFORMANCE_VALUES) unless CONFORMANCE_VALUES.include? new_val @conformance = new_val end
Private Instance Methods
download_file()
click to toggle source
# File lib/ilovepdf/tool/validate_pdfa.rb, line 26 def download_file raise ::Ilovepdf::Errors::UnsupportedFunctionalityError.new('This tool does not download files (Check in the sample files how to use it)') end