Method: Logcamp::LogcampError#initialize
- Defined in:
- lib/logcamp/errors/logcamp_error.rb
#initialize(message = nil, http_status = nil, http_body = nil, json_body = nil) ⇒ LogcampError
Returns a new instance of LogcampError.
8 9 10 11 12 13 |
# File 'lib/logcamp/errors/logcamp_error.rb', line 8 def initialize(=nil, http_status=nil, http_body=nil, json_body=nil) @message = @http_status = http_status @http_body = http_body @json_body = json_body end |