Class: WCC::API::RestClient::TyphoeusAdapter::Response

Inherits:
Struct
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/wcc/api/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



22
23
24
# File 'lib/wcc/api/rest_client/typhoeus_adapter.rb', line 22

def raw
  @raw
end

Instance Method Details

#statusObject



28
29
30
# File 'lib/wcc/api/rest_client/typhoeus_adapter.rb', line 28

def status
  raw.code
end