Sha256: 72b7702f48b13fef6909f952bab21e45f0e77e757af5fa0444461936c562888d

Contents?: true

Size: 212 Bytes

Versions: 67

Compression:

Stored size: 212 Bytes

Contents

module RestfulResource
  class Response
    attr_reader :body, :headers, :status

    def initialize(body: "{}", headers: {}, status: nil)
      @body, @headers, @status = body, headers, status
    end
  end
end

Version data entries

67 entries across 67 versions & 1 rubygems

Version Path
restful_resource-0.8.27 lib/restful_resource/response.rb
restful_resource-0.8.26 lib/restful_resource/response.rb
restful_resource-0.8.25 lib/restful_resource/response.rb
restful_resource-0.8.24 lib/restful_resource/response.rb
restful_resource-0.8.23 lib/restful_resource/response.rb
restful_resource-0.8.22 lib/restful_resource/response.rb
restful_resource-0.8.21 lib/restful_resource/response.rb
restful_resource-0.8.20 lib/restful_resource/response.rb
restful_resource-0.8.19 lib/restful_resource/response.rb
restful_resource-0.8.18 lib/restful_resource/response.rb
restful_resource-0.8.17 lib/restful_resource/response.rb
restful_resource-0.8.16 lib/restful_resource/response.rb
restful_resource-0.8.15 lib/restful_resource/response.rb
restful_resource-0.8.14 lib/restful_resource/response.rb
restful_resource-0.8.13 lib/restful_resource/response.rb
restful_resource-0.8.12 lib/restful_resource/response.rb
restful_resource-0.8.11 lib/restful_resource/response.rb
restful_resource-0.8.10 lib/restful_resource/response.rb
restful_resource-0.8.9 lib/restful_resource/response.rb
restful_resource-0.8.8 lib/restful_resource/response.rb