lib/friendly_shipping/response.rb in friendly_shipping-0.3.4 vs lib/friendly_shipping/response.rb in friendly_shipping-0.4.0
- old
+ new
@@ -2,9 +2,12 @@
module FriendlyShipping
class Response
attr_reader :status, :body, :headers
+ # @param [Integer] status The HTTP response status code
+ # @param [String] body The HTTP response body
+ # @param [Hash] headers The HTTP response headers
def initialize(status:, body:, headers:)
@status = status
@body = body
@headers = headers
end