Sha256: 1d485f6dd243612ad9a67feb8130cf397e974cc33661ab32a47458c8712a3cf7
Contents?: true
Size: 408 Bytes
Versions: 6
Compression:
Stored size: 408 Bytes
Contents
require 'hyperion/headers' class ResponseDescriptor # Describes properties of an acceptable response include Hyperion::Headers attr_reader :type, :version, :format # @param type [String] # @param version [Integer] # @param format [Symbol] :json def initialize(type, version, format) @type, @version, @format = type, version, format end def to_s short_mimetype(self) end end
Version data entries
6 entries across 6 versions & 1 rubygems