Exception: ThreeScale::Backend::ContentTypeInvalid
- Inherits:
-
BadRequest
- Object
- RuntimeError
- Error
- BadRequest
- ThreeScale::Backend::ContentTypeInvalid
- Defined in:
- lib/3scale/backend/errors.rb
Overview
Bad Requests
Instance Method Summary collapse
-
#initialize(content_type) ⇒ ContentTypeInvalid
constructor
A new instance of ContentTypeInvalid.
Methods inherited from BadRequest
Methods inherited from Error
#code, code, #http_code, #to_xml, underscore
Constructor Details
#initialize(content_type) ⇒ ContentTypeInvalid
Returns a new instance of ContentTypeInvalid.
266 267 268 |
# File 'lib/3scale/backend/errors.rb', line 266 def initialize(content_type) super %(invalid Content-Type: #{content_type}) end |