Class: EncodingDotCom::HttpAdapters::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/encoding_dot_com/http_adapters/curb_adapter.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



4
5
6
# File 'lib/encoding_dot_com/http_adapters/curb_adapter.rb', line 4

def body
  @body
end

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



4
5
6
# File 'lib/encoding_dot_com/http_adapters/curb_adapter.rb', line 4

def code
  @code
end