Class: TrainPlugins::Habitat::HTTPGateway::Response

Inherits:
Struct
  • Object
show all
Defined in:
lib/train-habitat/httpgateway.rb

Instance Attribute Summary collapse

Instance Attribute Details

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



7
8
9
# File 'lib/train-habitat/httpgateway.rb', line 7

def body
  @body
end

#codeObject

Returns the value of attribute code

Returns:

  • (Object)

    the current value of code



7
8
9
# File 'lib/train-habitat/httpgateway.rb', line 7

def code
  @code
end

#raw_responseObject

Returns the value of attribute raw_response

Returns:

  • (Object)

    the current value of raw_response



7
8
9
# File 'lib/train-habitat/httpgateway.rb', line 7

def raw_response
  @raw_response
end