Sha256: 40b4254c2bb19d3ec90c9b7b50baa4aff30867e7ddc1e173360f5ebadf8e0681
Contents?: true
Size: 400 Bytes
Versions: 18
Compression:
Stored size: 400 Bytes
Contents
# frozen_string_literal: true class Rage::Response # @private def initialize(headers, body) @headers = headers @body = body end # Returns the content of the response as a string. This contains the contents of any calls to `render`. # @return [String] def body @body[0] end # Returns the headers for the response. # @return [Hash] def headers @headers end end
Version data entries
18 entries across 18 versions & 1 rubygems