Sha256: 500f2948995f2e2c82fde5ea447f4c396e04307c59a328780b84afd4f5086a15
Contents?: true
Size: 476 Bytes
Versions: 9
Compression:
Stored size: 476 Bytes
Contents
require 'acfs/response/formats' module Acfs # This represents a response. In addition to an standard HTTP # it has a field `data` for storing the encoded body. # class Response attr_accessor :data attr_reader :request, :status, :headers, :body include Response::Formats def initialize(request, status = 200, headers = {}, body = nil) @request = request @status = status @headers = headers @body = body end end end
Version data entries
9 entries across 9 versions & 1 rubygems