Class: Puree::Model::File

Inherits:
Structure show all
Defined in:
lib/puree/model/file.rb

Overview

Description of a file.

Instance Attribute Summary collapse

Method Summary

Methods inherited from Structure

#data?

Instance Attribute Details

#licensePuree::Model::CopyrightLicense?



21
22
23
# File 'lib/puree/model/file.rb', line 21

def license
  @license
end

#mimeString?



12
13
14
# File 'lib/puree/model/file.rb', line 12

def mime
  @mime
end

#nameString?



9
10
11
# File 'lib/puree/model/file.rb', line 9

def name
  @name
end

#sizeFixnum?



15
16
17
# File 'lib/puree/model/file.rb', line 15

def size
  @size
end

#urlString?



18
19
20
# File 'lib/puree/model/file.rb', line 18

def url
  @url
end