Class: PoliPage::Internal::Transport::Response Private

Inherits:
Data
  • Object
show all
Defined in:
lib/poli_page/internal/transport.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



22
23
24
# File 'lib/poli_page/internal/transport.rb', line 22

def body
  @body
end

#headersObject (readonly)

Returns the value of attribute headers

Returns:

  • (Object)

    the current value of headers



22
23
24
# File 'lib/poli_page/internal/transport.rb', line 22

def headers
  @headers
end

#statusObject (readonly)

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



22
23
24
# File 'lib/poli_page/internal/transport.rb', line 22

def status
  @status
end