Class: BooticClient::ResponseHandlers::IO
- Inherits:
-
Struct
- Object
- Struct
- BooticClient::ResponseHandlers::IO
- Defined in:
- lib/bootic_client/response_handlers.rb
Instance Attribute Summary collapse
-
#file_name ⇒ Object
Returns the value of attribute file_name.
-
#io ⇒ Object
Returns the value of attribute io.
-
#mime_type ⇒ Object
Returns the value of attribute mime_type.
Instance Method Summary collapse
Instance Attribute Details
#file_name ⇒ Object
Returns the value of attribute file_name
39 40 41 |
# File 'lib/bootic_client/response_handlers.rb', line 39 def file_name @file_name end |
#io ⇒ Object
Returns the value of attribute io
39 40 41 |
# File 'lib/bootic_client/response_handlers.rb', line 39 def io @io end |
#mime_type ⇒ Object
Returns the value of attribute mime_type
39 40 41 |
# File 'lib/bootic_client/response_handlers.rb', line 39 def mime_type @mime_type end |
Instance Method Details
#read(length = nil, outbuff = nil) ⇒ Object
40 41 42 |
# File 'lib/bootic_client/response_handlers.rb', line 40 def read(length = nil, outbuff = nil) io.read(length, outbuff) end |