Class: MediaTypes::Serialization::Utils::AcceptLanguageHeader

Inherits:
Array
  • Object
show all
Defined in:
lib/media_types/serialization/utils/accept_language_header.rb

Defined Under Namespace

Classes: Entry

Instance Method Summary collapse

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