Class: Pageflow::ThumbnailFileResolver::Null

Inherits:
Object
  • Object
show all
Defined in:
app/models/pageflow/thumbnail_file_resolver.rb

Instance Method Summary collapse

Instance Method Details

#blank?Boolean

Returns:

  • (Boolean)

8
9
10
# File 'app/models/pageflow/thumbnail_file_resolver.rb', line 8

def blank?
  true
end

#thumbnail_url(*args) ⇒ Object


4
5
6
# File 'app/models/pageflow/thumbnail_file_resolver.rb', line 4

def thumbnail_url(*args)
  ImageFile.new.processed_attachment.url(*args)
end