Class: ABBYY::Cloud::Models::FileReadError
- Inherits:
-
String
- Object
- String
- ABBYY::Cloud::Models::FileReadError
- Defined in:
- lib/abbyy/cloud/models/file_read_error.rb
Constant Summary collapse
- VALUES =
%w( Unsupported FileEmpty FileEncrypted FileFormatError UnknownError ).freeze
Class Method Summary collapse
Class Method Details
.new(string) ⇒ Object
12 13 14 |
# File 'lib/abbyy/cloud/models/file_read_error.rb', line 12 def self.new(string) super Types::Strict::String.constrained(included_in: VALUES)[string] end |