Sha256: 81aae7601ad6c8d4a8da784beef2f5da5d7189be5ad622c7b1a5904500133e93

Contents?: true

Size: 240 Bytes

Versions: 3

Compression:

Stored size: 240 Bytes

Contents

module RestfulObjects
  class HttpResponse
    attr_accessor :body, :content_type, :status

    def initialize(body, content_type, status = 200)
      @body = body
      @content_type = content_type
      @status = status
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
restful_objects-0.0.5 lib/restful_objects/http_response.rb
restful_objects-0.0.4 lib/restful_objects/http_response.rb
restful_objects-0.0.3 lib/restful_objects/http_response.rb