Sha256: ee6056f23977c3721953a3ee0630747de4cff0c18ebc3948fade0f5f58dc45d3
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 Bytes
Contents
module VoiceBase module Request class TextPart attr_accessor :name, :body def initialize(name:, body:) @name = name @body = body end def multipart "Content-Disposition: form-data; name=\"#{CGI::escape(name)}\"\r\n\r\n#{body}\r\n" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
voicebase-client-ruby-1.3.0 | lib/voicebase/request/text_part.rb |