Class: TyphoeusAdapter::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/wcc/contentful/simple_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



31
32
33
# File 'lib/wcc/contentful/simple_client/typhoeus_adapter.rb', line 31

def raw
  @raw
end

Instance Method Details

#statusObject



38
39
40
# File 'lib/wcc/contentful/simple_client/typhoeus_adapter.rb', line 38

def status
  raw.code
end