class HalApi::Errors::UnsupportedMediaType

Public Class Methods

new(type) click to toggle source
Calls superclass method HalApi::Errors::ApiError::new
# File lib/hal_api/errors.rb, line 29
def initialize(type)
  super("Unsupported Media Type '#{type.inspect}'", 415)
end