Method: Curl::PostField#local_file=

Defined in:
ext/curb_postfield.c

#local_file=(local_file) ⇒ Object

Set the POST field local filename for this PostField (when performing a file upload). Ignored when a content_proc is supplied via either Curl::PostField.file or set_content_proc.



360
361
362
# File 'ext/curb_postfield.c', line 360

static VALUE ruby_curl_postfield_local_file_set(VALUE self, VALUE local_file) {
  CURB_OBJECT_SETTER(ruby_curl_postfield, local_file);
}