Class: Wikiwiki::Attachment

Inherits:
Object
  • Object
show all
Defined in:
lib/wikiwiki/attachment.rb

Instance Attribute Summary collapse

Instance Attribute Details

#contentString (readonly)

Returns the binary file content (decoded from Base64).

Returns:

  • the binary file content (decoded from Base64)



# File 'lib/wikiwiki/attachment.rb', line 36

#nameString (readonly)

Returns the attachment file name.

Returns:

  • the attachment file name



# File 'lib/wikiwiki/attachment.rb', line 24

#page_nameString (readonly)

Returns the page name this attachment belongs to.

Returns:

  • the page name this attachment belongs to



# File 'lib/wikiwiki/attachment.rb', line 21

#sizeInteger (readonly)

Returns the file size in bytes.

Returns:

  • the file size in bytes



# File 'lib/wikiwiki/attachment.rb', line 27

#timeTime (readonly)

Returns the upload time.

Returns:

  • the upload time



# File 'lib/wikiwiki/attachment.rb', line 30

#typeString (readonly)

Returns the MIME type.

Returns:

  • the MIME type



# File 'lib/wikiwiki/attachment.rb', line 33