Sha256: 1084d6f66f4de38cb537aac37d8e12322efd05e65d665b4a971ef638dd70aa8b
Contents?: true
Size: 419 Bytes
Versions: 6
Compression:
Stored size: 419 Bytes
Contents
require 'media_types/serialization/error' module MediaTypes module Serialization class NoSerializerForContentType < Error def initialize(given, supported) super format( 'Unable to serialize to requested Content-Type: %<given>s. I can give you: %<supported>s', given: given.inspect, supported: supported.map(&:to_s) ) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems