Class: Baykit::BayServer::Docker::SendFile::FileStore::FileContentStatus
- Inherits:
-
Object
- Object
- Baykit::BayServer::Docker::SendFile::FileStore::FileContentStatus
- Defined in:
- lib/baykit/bayserver/docker/send_file/file_store.rb
Constant Summary collapse
- STARTED =
1- READING =
2- COMPLETED =
3- EXCEEDED =
4
Instance Attribute Summary collapse
-
#file_content ⇒ Object
readonly
Returns the value of attribute file_content.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(file_content, status) ⇒ FileContentStatus
constructor
A new instance of FileContentStatus.
Constructor Details
#initialize(file_content, status) ⇒ FileContentStatus
Returns a new instance of FileContentStatus.
21 22 23 24 |
# File 'lib/baykit/bayserver/docker/send_file/file_store.rb', line 21 def initialize(file_content, status) @file_content = file_content @status = status end |
Instance Attribute Details
#file_content ⇒ Object (readonly)
Returns the value of attribute file_content.
18 19 20 |
# File 'lib/baykit/bayserver/docker/send_file/file_store.rb', line 18 def file_content @file_content end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
19 20 21 |
# File 'lib/baykit/bayserver/docker/send_file/file_store.rb', line 19 def status @status end |