Module: Strelka::MultipartParser::FileInputField

Defined in:
lib/strelka/multipartparser.rb

Overview

A mixin that extends the IO objects for uploaded files.

Instance Attribute Summary collapse

Instance Attribute Details

#content_lengthObject

Returns the value of attribute content_length.



66
67
68
# File 'lib/strelka/multipartparser.rb', line 66

def content_length
  @content_length
end

#content_typeObject

Returns the value of attribute content_type.



66
67
68
# File 'lib/strelka/multipartparser.rb', line 66

def content_type
  @content_type
end

#filenameObject

Returns the value of attribute filename.



66
67
68
# File 'lib/strelka/multipartparser.rb', line 66

def filename
  @filename
end