Exception: Rackful::HTTP415UnsupportedMediaType

Inherits:
HTTPStatus
  • Object
show all
Defined in:
lib/rackful/httpstatus.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

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