Class: Spotlight::Masthead

Inherits:
FeaturedImage show all
Defined in:
app/models/spotlight/masthead.rb

Overview

Exhibit and browse category mastheads

Instance Attribute Summary

Attributes inherited from FeaturedImage

#upload_id

Instance Method Summary collapse

Methods inherited from FeaturedImage

#document, #file_present?, #iiif_tilesource, #iiif_url, #remote_image_url=, #to_param

Instance Method Details

#display?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'app/models/spotlight/masthead.rb', line 7

def display?
  display && iiif_url.present?
end