class CslCli::Request::Post

Attributes

code[R]
response[R]

Public Class Methods

new(url, body, headers) click to toggle source
# File lib/csl_cli/request.rb, line 13
def initialize(url, body, headers)
  @response = HTTParty.post(url, body: body, headers: headers)
  @code = @response.code
end