Exception: Dhis2::RequestError

Inherits:
Error
  • Object
show all
Defined in:
lib/dhis2/error.rb

Instance Attribute Summary collapse

Instance Attribute Details

#http_bodyObject

Returns the value of attribute http_body.



17
18
19
# File 'lib/dhis2/error.rb', line 17

def http_body
  @http_body
end

#http_codeObject

Returns the value of attribute http_code.



17
18
19
# File 'lib/dhis2/error.rb', line 17

def http_code
  @http_code
end

#responseObject

Returns the value of attribute response.



17
18
19
# File 'lib/dhis2/error.rb', line 17

def response
  @response
end