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