Class: Progstr::Filer::Attachment::EmptyAttachment
Instance Attribute Summary
#attribute, #file, #id, #pre_validated, #uploader_class
Instance Method Summary
collapse
empty, file_id, from_file, from_id, from_json, generate_id, #mark_uploaded!, #public_url, #uploaded?, #url
Instance Method Details
#blank? ⇒ Boolean
27
28
29
|
# File 'lib/filer/attachment.rb', line 27
def blank?
true
end
|
#display_hash ⇒ Object
39
40
41
|
# File 'lib/filer/attachment.rb', line 39
def display_hash
nil
end
|
#display_json ⇒ Object
42
43
44
|
# File 'lib/filer/attachment.rb', line 42
def display_json
nil
end
|
#extension ⇒ Object
36
37
38
|
# File 'lib/filer/attachment.rb', line 36
def extension
""
end
|
#need_upload? ⇒ Boolean
45
46
47
|
# File 'lib/filer/attachment.rb', line 45
def need_upload?
false
end
|
#path ⇒ Object
33
34
35
|
# File 'lib/filer/attachment.rb', line 33
def path
""
end
|
#size ⇒ Object
30
31
32
|
# File 'lib/filer/attachment.rb', line 30
def size
0
end
|