class FriendlyShipping::Response
Attributes
body[R]
headers[R]
status[R]
Public Class Methods
new(status:, body:, headers:)
click to toggle source
@param [Integer] status The HTTP response status code @param [String] body The HTTP response body @param [Hash] headers The HTTP response headers
# File lib/friendly_shipping/response.rb, line 10 def initialize(status:, body:, headers:) @status = status @body = body @headers = headers end