Class: AsposeCadCloud::PdfCompliance
- Inherits:
-
Object
- Object
- AsposeCadCloud::PdfCompliance
- Defined in:
- lib/aspose_cad_cloud/models/pdf_compliance.rb
Constant Summary collapse
- PDF15 =
"Pdf15".freeze
- PDF_A1A =
"PdfA1a".freeze
- PDF_A1B =
"PdfA1b".freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
15 16 17 18 19 |
# File 'lib/aspose_cad_cloud/models/pdf_compliance.rb', line 15 def build_from_hash(value) constantValues = PdfCompliance.constants.select{|c| PdfCompliance::const_get(c) == value} raise "Invalid ENUM value #{value} for class #PdfCompliance" if constantValues.empty? value end |