Class: PollEverywhere::HTTP::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/polleverywhere/http.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body


25
26
27
# File 'lib/polleverywhere/http.rb', line 25

def body
  @body
end

#headersObject

Returns the value of attribute headers


25
26
27
# File 'lib/polleverywhere/http.rb', line 25

def headers
  @headers
end

#statusObject

Returns the value of attribute status


25
26
27
# File 'lib/polleverywhere/http.rb', line 25

def status
  @status
end