class Morpheus::BodyIO

wrapper class for input stream so that HTTP doesn’t blow up when using it ie. calling size() and rewind()

Public Class Methods

new(io) click to toggle source
# File lib/morpheus/api/body_io.rb, line 8
def initialize(io)
  @io = io
end

Public Instance Methods

rewind() click to toggle source
# File lib/morpheus/api/body_io.rb, line 16
def rewind
  nil
end
size() click to toggle source
# File lib/morpheus/api/body_io.rb, line 12
def size
  0
end