Sha256: 41722a275d234a4329d51a23512c29ad50adccd8f1114d73c9caddf432900bd7

Contents?: true

Size: 345 Bytes

Versions: 6

Compression:

Stored size: 345 Bytes

Contents

module Rasti
  module Web
    module ApiDoc
      class Response

        attr_reader :status, :headers

        def initialize(status, headers, body_proxy)
          @status = status
          @headers = headers
          @body_proxy = body_proxy
        end

        def body
          @body_proxy.body
        end

      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rasti-web-api_doc-1.1.0 lib/rasti/web/api_doc/response.rb
rasti-web-api_doc-1.0.1 lib/rasti/web/api_doc/response.rb
rasti-web-api_doc-1.0.0 lib/rasti/web/api_doc/response.rb
rasti-web-api_doc-0.1.2 lib/rasti/web/api_doc/response.rb
rasti-web-api_doc-0.1.1 lib/rasti/web/api_doc/response.rb
rasti-web-api_doc-0.1.0 lib/rasti/web/api_doc/response.rb