Class: Coelacanth::HTTP::ErrorResponse

Inherits:
Struct
  • Object
show all
Defined in:
lib/coelacanth/http.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#base_uriObject

Returns the value of attribute base_uri

Returns:

  • (Object)

    the current value of base_uri



41
42
43
# File 'lib/coelacanth/http.rb', line 41

def base_uri
  @base_uri
end

#bodyObject

Returns the value of attribute body

Returns:

  • (Object)

    the current value of body



41
42
43
# File 'lib/coelacanth/http.rb', line 41

def body
  @body
end

#final_uriObject

Returns the value of attribute final_uri

Returns:

  • (Object)

    the current value of final_uri



41
42
43
# File 'lib/coelacanth/http.rb', line 41

def final_uri
  @final_uri
end

#metaObject

Returns the value of attribute meta

Returns:

  • (Object)

    the current value of meta



41
42
43
# File 'lib/coelacanth/http.rb', line 41

def meta
  @meta
end

#statusObject

Returns the value of attribute status

Returns:

  • (Object)

    the current value of status



41
42
43
# File 'lib/coelacanth/http.rb', line 41

def status
  @status
end

Instance Method Details

#stringObject Also known as: to_s



42
43
44
# File 'lib/coelacanth/http.rb', line 42

def string
  body.to_s
end