Class: FileHandlers::Slic3rFamily
- Inherits:
-
Base
- Object
- Base
- FileHandlers::Slic3rFamily
show all
- Defined in:
- app/lib/file_handlers/slic3r_family.rb
Constant Summary
collapse
- ENVIRONMENTS =
[:client].freeze
Class Method Summary
collapse
Class Method Details
.open_url_for(target, client_os: nil) ⇒ Object
8
9
10
11
12
13
14
|
# File 'app/lib/file_handlers/slic3r_family.rb', line 8
def self.open_url_for(target, client_os: nil)
URI::Generic.new(
scheme, nil,
"open", nil, nil, nil, nil,
{file: target}.to_query, nil
).to_s
end
|
.scheme ⇒ Object
4
5
6
|
# File 'app/lib/file_handlers/slic3r_family.rb', line 4
def self.scheme
raise NotImplementedError
end
|