Class: Net::HTTP::MultipartPost
- Inherits:
-
Object
- Object
- Net::HTTP::MultipartPost
- Defined in:
- lib/net/http_multipart_post.rb
Constant Summary collapse
- BOUNDARY =
"MichaelNiessnerIsSuperDuperAwesome"
Instance Method Summary collapse
-
#initialize(url, params) ⇒ MultipartPost
constructor
A new instance of MultipartPost.
- #post ⇒ Object
Constructor Details
#initialize(url, params) ⇒ MultipartPost
Returns a new instance of MultipartPost.
24 25 26 27 28 |
# File 'lib/net/http_multipart_post.rb', line 24 def initialize(url, params) @url = url @multipart_post_files = extract_file_parameters_from(params) @params = extract_non_file_parameters_from(params) end |