Class: RestMan::Payload::Multipart::WriteContentDisposition
- Inherits:
-
ActiveMethod::Base
- Object
- ActiveMethod::Base
- RestMan::Payload::Multipart::WriteContentDisposition
- Defined in:
- lib/restman/payload/multipart/write_content_disposition.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
11 12 13 14 15 16 17 |
# File 'lib/restman/payload/multipart/write_content_disposition.rb', line 11 def call if file? write_header_for_file_field else write_header_for_regular_field end end |