Class: MediaTypes::Serialization::Utils::AcceptHeader
- Inherits:
-
Array
- Object
- Array
- MediaTypes::Serialization::Utils::AcceptHeader
- Defined in:
- lib/media_types/serialization/utils/accept_header.rb
Defined Under Namespace
Classes: Entry
Instance Method Summary collapse
-
#initialize(value) ⇒ AcceptHeader
constructor
A new instance of AcceptHeader.
Constructor Details
#initialize(value) ⇒ AcceptHeader
Returns a new instance of AcceptHeader.
31 32 33 |
# File 'lib/media_types/serialization/utils/accept_header.rb', line 31 def initialize(value) __setobj__ HeaderList.new(value, entry_klazz: AcceptHeader::Entry) end |