Class: Presto::Transformation::Validator
- Inherits:
-
Object
- Object
- Presto::Transformation::Validator
- Defined in:
- lib/presto/transformation/validator.rb
Constant Summary collapse
- HEXDECIMAL_ALPHA_REGEX =
/^#[a-fA-F0-9]{8}$/- HEXDECIMAL_LONG_REGEX =
/^#[a-fA-F0-9]{6}$/- HEXDECIMAL_SHORT_REGEX =
/^#[a-fA-F0-9]{3}$/- FIT_TYPES =
%w(clip crop scale fill max).freeze
- QUALITY_MAX =
100- QUALITY_MIN =
1
Class Method Summary collapse
Class Method Details
.config ⇒ Object
16 17 18 |
# File 'lib/presto/transformation/validator.rb', line 16 def self.config Presto.configuration end |