class Rubhttp::Request::Body

@api private

NOTE: This class is a subject of future refactoring, thus don't

expect this class API to be stable until this message disappears and
class is not marked as private anymore.

Attributes

contents[R]

Public Class Methods

new(contents) click to toggle source

@option contents [String, IO] :body @option contents [Hash] :form @option contents [Hash] :json

# File lib/rubhttp/request/body.rb, line 16
def initialize(contents)
  @contents = contents
end