Class: Endpointer::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/endpointer/response.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body



2
3
4
# File 'lib/endpointer/response.rb', line 2

def body
  @body
end

#codeObject

Returns the value of attribute code



2
3
4
# File 'lib/endpointer/response.rb', line 2

def code
  @code
end

#headersObject

Returns the value of attribute headers



2
3
4
# File 'lib/endpointer/response.rb', line 2

def headers
  @headers
end