Class: BlazingDocs::FileModel

Inherits:
BaseModel show all
Defined in:
lib/blazingdocs/models/file_model.rb

Direct Known Subclasses

TemplateModel

Instance Attribute Summary collapse

Method Summary

Methods inherited from BaseModel

#initialize

Constructor Details

This class inherits a constructor from BlazingDocs::BaseModel

Instance Attribute Details

#content_typeObject

Returns the value of attribute content_type.



8
9
10
# File 'lib/blazingdocs/models/file_model.rb', line 8

def content_type
  @content_type
end

#created_atObject

Returns the value of attribute created_at.



12
13
14
# File 'lib/blazingdocs/models/file_model.rb', line 12

def created_at
  @created_at
end

#download_urlObject

Returns the value of attribute download_url.



9
10
11
# File 'lib/blazingdocs/models/file_model.rb', line 9

def download_url
  @download_url
end

#idObject

Returns the value of attribute id.



6
7
8
# File 'lib/blazingdocs/models/file_model.rb', line 6

def id
  @id
end

#last_accessed_atObject

Returns the value of attribute last_accessed_at.



14
15
16
# File 'lib/blazingdocs/models/file_model.rb', line 14

def last_accessed_at
  @last_accessed_at
end

#last_modified_atObject

Returns the value of attribute last_modified_at.



13
14
15
# File 'lib/blazingdocs/models/file_model.rb', line 13

def last_modified_at
  @last_modified_at
end

#lengthObject

Returns the value of attribute length.



10
11
12
# File 'lib/blazingdocs/models/file_model.rb', line 10

def length
  @length
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/blazingdocs/models/file_model.rb', line 7

def name
  @name
end