class Pakyow::Connection::MultipartInput
Attributes
filename[R]
headers[R]
media_type[R]
type[R]
Public Class Methods
new(filename:, headers:, type:)
click to toggle source
# File lib/pakyow/connection/multipart_input.rb, line 10 def initialize(filename:, headers:, type:) @filename, @headers, @type = filename, headers, type __setobj__(Tempfile.new(["PakyowMultipart", File.extname(filename)])) end
Public Instance Methods
pp(*args)
click to toggle source
Fixes an issue using pp inside a delegator.
# File lib/pakyow/connection/multipart_input.rb, line 19 def pp(*args) Kernel.pp(*args) end