Class: ApplicationUploader
- Inherits:
-
Shrine
- Object
- Shrine
- ApplicationUploader
- Defined in:
- app/uploaders/application_uploader.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Attacher
Constant Summary collapse
- F3D_OPTS =
{ "ambient-occlusion" => "1", "anti-aliasing" => "true", "axis" => "0", "background-color" => "0,0,0", "filename" => "0", "grid" => "1", "grid-color" => "0,255,255", "grid-subdivisions" => 0, "grid-unit" => "10", "no-config" => "1", "output" => "-", "resolution" => "512,512", "tone-mapping" => "1", "translucency-support" => "1" }.freeze
- CAMERA_OPTS =
{ "+z" => "-1,1,-0.5", "+y" => "-1,-0.5,-1" }
Instance Method Summary collapse
Instance Method Details
#generate_location(io, record: nil, derivative: nil, metadata: {}) ⇒ Object
67 68 69 |
# File 'app/uploaders/application_uploader.rb', line 67 def generate_location(io, record: nil, derivative: nil, metadata: {}, **) ".manyfold/#{super}" end |