Class: Riiif::LinkNameService

Inherits:
Object
  • Object
show all
Defined in:
app/services/riiif/link_name_service.rb

Overview

Creates names for a temporary file

Class Method Summary collapse

Class Method Details

.createObject



4
5
6
# File 'app/services/riiif/link_name_service.rb', line 4

def self.create
  ::File.join(Dir.tmpdir, SecureRandom.uuid) + '.bmp'
end