class Sliver::Response

Attributes

body[RW]
headers[RW]
status[RW]

Public Class Methods

new() click to toggle source
# File lib/sliver/response.rb, line 4
def initialize
  @headers = {}
end

Public Instance Methods

to_a() click to toggle source
# File lib/sliver/response.rb, line 8
def to_a
  [status, headers, body]
end