Module: Multipart
- Defined in:
- lib/it_tools/multipart.rb
Defined Under Namespace
Classes: FileParam, Post, StringParam
Constant Summary collapse
- VERSION =
"1.0.0"
Instance Attribute Summary collapse
-
#fp ⇒ Object
Formats a given hash as a multipart form post If a hash value responds to :string or :read messages, then it is interpreted as a file and processed accordingly; otherwise, it is assumed to be a string.
Instance Attribute Details
#fp ⇒ Object
Formats a given hash as a multipart form post If a hash value responds to :string or :read messages, then it is interpreted as a file and processed accordingly; otherwise, it is assumed to be a string
14 15 16 |
# File 'lib/it_tools/multipart.rb', line 14 def fp @fp end |