class

OpenAI::Multipart::FormFile

Inherits Reference < Object

Represents a file to be uploaded

Constructors

new(filename : String, content : IO | Slice(UInt8) | String, content_type : String = "application/octet-stream")
Source

Instance methods

content
Source
content=(content : IO | Bytes | String)
Source
content_type
Source
content_type=(content_type : String)
Source
filename
Source
filename=(filename : String)
Source