Class: Wikiwiki::Attachment
- Inherits:
-
Object
- Object
- Wikiwiki::Attachment
- Defined in:
- lib/wikiwiki/attachment.rb
Instance Attribute Summary collapse
-
#content ⇒ String
readonly
The binary file content (decoded from Base64).
-
#name ⇒ String
readonly
The attachment file name.
-
#page_name ⇒ String
readonly
The page name this attachment belongs to.
-
#size ⇒ Integer
readonly
The file size in bytes.
-
#time ⇒ Time
readonly
The upload time.
-
#type ⇒ String
readonly
The MIME type.
Instance Attribute Details
#content ⇒ String (readonly)
Returns the binary file content (decoded from Base64).
|
|
# File 'lib/wikiwiki/attachment.rb', line 36
|
#name ⇒ String (readonly)
Returns the attachment file name.
|
|
# File 'lib/wikiwiki/attachment.rb', line 24
|
#page_name ⇒ String (readonly)
Returns the page name this attachment belongs to.
|
|
# File 'lib/wikiwiki/attachment.rb', line 21
|
#size ⇒ Integer (readonly)
Returns the file size in bytes.
|
|
# File 'lib/wikiwiki/attachment.rb', line 27
|
#time ⇒ Time (readonly)
Returns the upload time.
|
|
# File 'lib/wikiwiki/attachment.rb', line 30
|
#type ⇒ String (readonly)
Returns the MIME type.
|
|
# File 'lib/wikiwiki/attachment.rb', line 33
|