Method: Brine::Requesting#set_request_body

Defined in:
lib/brine/requesting.rb

#set_request_body(obj) ⇒ Object

Store the provided body in the request being built.

This will override any previous body value.

Parameters:

  • obj (Object)

    Provide the data to place in the request body.

[View source]

86
87
88
# File 'lib/brine/requesting.rb', line 86

def set_request_body(obj)
  @body = obj
end