Sha256: 213f2a5dd130593a0e979e69861eaa178dd0b3db1f5d15fc057e0bd40112ecfc

Contents?: true

Size: 224 Bytes

Versions: 26

Compression:

Stored size: 224 Bytes

Contents

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

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
restful_resource-2.18.1 lib/restful_resource/response.rb
restful_resource-2.18.0 lib/restful_resource/response.rb
restful_resource-2.17.0 lib/restful_resource/response.rb
restful_resource-2.16.0 lib/restful_resource/response.rb
restful_resource-2.15.0 lib/restful_resource/response.rb
restful_resource-2.14.0 lib/restful_resource/response.rb
restful_resource-2.13.4 lib/restful_resource/response.rb
restful_resource-2.13.3 lib/restful_resource/response.rb
restful_resource-2.13.2 lib/restful_resource/response.rb
restful_resource-2.13.1 lib/restful_resource/response.rb
restful_resource-2.13.0 lib/restful_resource/response.rb
restful_resource-2.12.1 lib/restful_resource/response.rb
restful_resource-2.12.0 lib/restful_resource/response.rb
restful_resource-2.11.0 lib/restful_resource/response.rb
restful_resource-2.10.3 lib/restful_resource/response.rb
restful_resource-2.10.1 lib/restful_resource/response.rb
restful_resource-2.10.0 lib/restful_resource/response.rb
restful_resource-2.9.1 lib/restful_resource/response.rb
restful_resource-2.8.0 lib/restful_resource/response.rb
restful_resource-2.7.0 lib/restful_resource/response.rb