Exception: Rackful::HTTP415UnsupportedMediaType
- Inherits:
-
HTTPStatus
- Object
- RuntimeError
- HTTPStatus
- Rackful::HTTP415UnsupportedMediaType
- Defined in:
- lib/rackful/httpstatus.rb
Instance Attribute Summary (collapse)
-
- (void) headers
inherited
from HTTPStatus
readonly
Returns the value of attribute headers.
-
- (void) status
inherited
from HTTPStatus
readonly
Returns the value of attribute status.
-
- (void) to_rackful
inherited
from HTTPStatus
readonly
Returns the value of attribute to_rackful.
Instance Method Summary (collapse)
-
- (HTTP415UnsupportedMediaType) initialize(media_types)
constructor
A new instance of HTTP415UnsupportedMediaType.
Constructor Details
- (HTTP415UnsupportedMediaType) initialize(media_types)
Returns a new instance of HTTP415UnsupportedMediaType
237 238 239 |
# File 'lib/rackful/httpstatus.rb', line 237 def initialize media_types super( 415, '', :Supported media-type(s):' => media_types ) end |
Instance Attribute Details
- (void) headers (readonly) Originally defined in class HTTPStatus
Returns the value of attribute headers
- (void) status (readonly) Originally defined in class HTTPStatus
Returns the value of attribute status
- (void) to_rackful (readonly) Originally defined in class HTTPStatus
Returns the value of attribute to_rackful