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-2.3.0 lib/restful_resource/response.rb
restful_resource-2.2.8 lib/restful_resource/response.rb
restful_resource-2.2.7 lib/restful_resource/response.rb
restful_resource-2.2.6 lib/restful_resource/response.rb
restful_resource-2.2.5 lib/restful_resource/response.rb
restful_resource-2.2.4 lib/restful_resource/response.rb
restful_resource-2.2.3 lib/restful_resource/response.rb
restful_resource-2.2.2 lib/restful_resource/response.rb
restful_resource-2.2.1 lib/restful_resource/response.rb
restful_resource-2.2.0 lib/restful_resource/response.rb
restful_resource-2.0.2 lib/restful_resource/response.rb
restful_resource-2.0.1 lib/restful_resource/response.rb
restful_resource-1.6.0 lib/restful_resource/response.rb
restful_resource-1.5.0 lib/restful_resource/response.rb
restful_resource-1.4.3 lib/restful_resource/response.rb
restful_resource-1.4.2 lib/restful_resource/response.rb
restful_resource-1.4.1 lib/restful_resource/response.rb
restful_resource-1.4.0 lib/restful_resource/response.rb
restful_resource-1.3.0 lib/restful_resource/response.rb
restful_resource-1.2.2 lib/restful_resource/response.rb