Sha256: 0c5359d84b479b8397c8e301158653fcfa9c5ca2fed09895cb363d223e10c99b
Contents?: true
Size: 251 Bytes
Versions: 2
Compression:
Stored size: 251 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
restful_objects-0.0.2 | lib/restful_objects/http_response.rb |
restful_objects-0.0.1 | lib/restful_objects/http_response.rb |