Exception: Resourceful::MissingContentType
- Defined in:
- lib/resourceful/exceptions.rb
Overview
Raised when a body is supplied, but not a content-type header
Instance Method Summary collapse
-
#initialize ⇒ MissingContentType
constructor
A new instance of MissingContentType.
Constructor Details
#initialize ⇒ MissingContentType
Returns a new instance of MissingContentType.
29 30 31 |
# File 'lib/resourceful/exceptions.rb', line 29 def initialize super("A Content-Type must be specified when an entity-body is supplied.") end |