Class: Imgwire::Uploads::ResolvedUpload
- Inherits:
-
Struct
- Object
- Struct
- Imgwire::Uploads::ResolvedUpload
- Defined in:
- lib/imgwire/uploads.rb
Instance Attribute Summary collapse
-
#content_length ⇒ Object
Returns the value of attribute content_length.
-
#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
#content_length ⇒ Object
Returns the value of attribute content_length
19 20 21 |
# File 'lib/imgwire/uploads.rb', line 19 def content_length @content_length end |
#file_name ⇒ Object
Returns the value of attribute file_name
19 20 21 |
# File 'lib/imgwire/uploads.rb', line 19 def file_name @file_name end |
#io ⇒ Object
Returns the value of attribute io
19 20 21 |
# File 'lib/imgwire/uploads.rb', line 19 def io @io end |
#mime_type ⇒ Object
Returns the value of attribute mime_type
19 20 21 |
# File 'lib/imgwire/uploads.rb', line 19 def mime_type @mime_type end |
Instance Method Details
#rewind ⇒ Object
26 27 28 |
# File 'lib/imgwire/uploads.rb', line 26 def rewind io.rewind if io.respond_to?(:rewind) end |