Exception: JSONAPI::Consumer::Errors::Conflict

Inherits:
ServerError show all
Defined in:
lib/jsonapi/consumer/errors.rb

Instance Attribute Summary

Attributes inherited from ApiError

#env

Instance Method Summary collapse

Methods inherited from ApiError

#initialize

Constructor Details

This class inherits a constructor from JSONAPI::Consumer::Errors::ApiError

Instance Method Details

#messageObject



29
30
31
# File 'lib/jsonapi/consumer/errors.rb', line 29

def message
  "Resource already exists"
end