Class: Progstr::Filer::UploadStatus
- Inherits:
-
Object
- Object
- Progstr::Filer::UploadStatus
- Defined in:
- lib/filer/uploader.rb
Instance Method Summary collapse
-
#initialize(parsed) ⇒ UploadStatus
constructor
A new instance of UploadStatus.
- #message ⇒ Object
- #name ⇒ Object
- #success ⇒ Object
Constructor Details
#initialize(parsed) ⇒ UploadStatus
Returns a new instance of UploadStatus.
4 5 6 |
# File 'lib/filer/uploader.rb', line 4 def initialize(parsed) @parsed = parsed end |
Instance Method Details
#message ⇒ Object
14 15 16 |
# File 'lib/filer/uploader.rb', line 14 def @parsed["message"] end |
#name ⇒ Object
8 9 10 |
# File 'lib/filer/uploader.rb', line 8 def name @parsed["name"] end |
#success ⇒ Object
11 12 13 |
# File 'lib/filer/uploader.rb', line 11 def success @parsed["success"] end |