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.6.1 lib/restful_resource/response.rb
restful_resource-2.5.3 lib/restful_resource/response.rb
restful_resource-2.5.2 lib/restful_resource/response.rb
restful_resource-2.5.1 lib/restful_resource/response.rb
restful_resource-2.5.0 lib/restful_resource/response.rb
restful_resource-2.4.0 lib/restful_resource/response.rb