Class: RestClient::TyphoeusAdapter::Response

Inherits:
Struct
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/rest_client/typhoeus_adapter.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#rawObject

Returns the value of attribute raw

Returns:

  • (Object)

    the current value of raw



21
22
23
# File 'lib/rest_client/typhoeus_adapter.rb', line 21

def raw
  @raw
end

Instance Method Details

#statusObject



27
28
29
# File 'lib/rest_client/typhoeus_adapter.rb', line 27

def status
  raw.code
end