Exception: PerfCheck::Server::ApplicationError
- Inherits:
-
Exception
- Object
- Exception
- PerfCheck::Server::ApplicationError
- Defined in:
- lib/perf_check/server.rb
Instance Method Summary collapse
- #body ⇒ Object
- #code ⇒ Object
-
#initialize(resp) ⇒ ApplicationError
constructor
A new instance of ApplicationError.
Constructor Details
#initialize(resp) ⇒ ApplicationError
Returns a new instance of ApplicationError.
105 106 107 |
# File 'lib/perf_check/server.rb', line 105 def initialize(resp) @response = resp end |
Instance Method Details
#body ⇒ Object
111 112 113 |
# File 'lib/perf_check/server.rb', line 111 def body @response.body end |
#code ⇒ Object
108 109 110 |
# File 'lib/perf_check/server.rb', line 108 def code @response.code end |