Module: HTTPX::Transcoder::Body

Defined in:
lib/httpx/transcoder/body.rb

Defined Under Namespace

Classes: Encoder

Constant Summary collapse

Error =
Class.new(HTTPX::Error)

Class Method Summary collapse

Class Method Details

.encode(body) ⇒ Object



55
56
57
# File 'lib/httpx/transcoder/body.rb', line 55

def encode(body)
  Encoder.new(body)
end