Class: App42::Upload::File
- Inherits:
-
Object
- Object
- App42::Upload::File
- Defined in:
- lib/upload/Upload.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#name ⇒ Object
Returns the value of attribute name.
-
#tinyUrl ⇒ Object
Returns the value of attribute tinyUrl.
-
#type ⇒ Object
Returns the value of attribute type.
-
#url ⇒ Object
Returns the value of attribute url.
-
#userName ⇒ Object
Returns the value of attribute userName.
Instance Method Summary collapse
-
#initialize(upload) ⇒ File
constructor
This is constructor that take no parameters.
Constructor Details
#initialize(upload) ⇒ File
This is constructor that take no parameters
34 35 36 |
# File 'lib/upload/Upload.rb', line 34 def initialize(upload) upload.fileList.push(self) end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
22 23 24 |
# File 'lib/upload/Upload.rb', line 22 def description @description end |
#name ⇒ Object
Returns the value of attribute name.
22 23 24 |
# File 'lib/upload/Upload.rb', line 22 def name @name end |
#tinyUrl ⇒ Object
Returns the value of attribute tinyUrl.
22 23 24 |
# File 'lib/upload/Upload.rb', line 22 def tinyUrl @tinyUrl end |
#type ⇒ Object
Returns the value of attribute type.
22 23 24 |
# File 'lib/upload/Upload.rb', line 22 def type @type end |
#url ⇒ Object
Returns the value of attribute url.
22 23 24 |
# File 'lib/upload/Upload.rb', line 22 def url @url end |
#userName ⇒ Object
Returns the value of attribute userName.
22 23 24 |
# File 'lib/upload/Upload.rb', line 22 def userName @userName end |