Class: FileHandlers::FlockXr

Inherits:
Base
  • Object
show all
Defined in:
app/lib/file_handlers/flock_xr.rb

Constant Summary collapse

ENVIRONMENTS =

i18n-tasks-use t('model_files.download.flock_xr')

[:client].freeze
INPUT_TYPES =
Mime::EXTENSION_LOOKUP.slice("flock").values.freeze

Class Method Summary collapse

Class Method Details

.icon ⇒ Object



15
16
17
# File 'app/lib/file_handlers/flock_xr.rb', line 15

def self.icon
  "images/external-icons/flock_xr.png"
end

.open_url_for(target, client_os: nil) ⇒ Object



7
8
9
10
11
12
13
# File 'app/lib/file_handlers/flock_xr.rb', line 7

def self.open_url_for(target, client_os: nil)
  URI::Generic.new(
    "https", nil,
    "app.flockxr.com", nil, nil, nil, nil,
    {project: target}.to_query, nil
  ).to_s
end