Class: ABBYY::Cloud::Models::OcrQuality

Inherits:
String
  • Object
show all
Defined in:
lib/abbyy/cloud/models/ocr_quality.rb

Constant Summary collapse

VALUES =
%w(
  Fast
  Balanced
  Thorough
).freeze

Class Method Summary collapse

Class Method Details

.new(string) ⇒ Object



10
11
12
# File 'lib/abbyy/cloud/models/ocr_quality.rb', line 10

def self.new(string)
  super Types::Strict::String.constrained(included_in: VALUES)[string]
end