Class: ONIX::ContentAudience

Inherits:
CodeFromYaml show all
Defined in:
lib/onix/code.rb

Instance Attribute Summary

Attributes inherited from Code

#code

Attributes included from Attributes

#attributes

Low level collapse

Methods inherited from CodeFromYaml

code_ident, code_identifier, hash, list

Methods inherited from Code

from_code, from_human, hash

Methods included from CodeMethods

#onix, #parse

Methods inherited from Subset

parse, #parse, #tag_match, #unsupported

Methods included from Attributes

attribute_class, #parse_attributes, #serialized_attributes

Instance Method Details

#humanString

Returns humanized name (from code): Unrestricted (00), Restricted (01), Booktrade (02), EndCustomers (03), Librarians (04), Teachers (05), Students (06), Press (07), ShoppingComparisonService (08), SearchEngineIndex (09), Bloggers (10).

Returns:

  • (String)

    humanized name (from code): Unrestricted (00), Restricted (01), Booktrade (02), EndCustomers (03), Librarians (04), Teachers (05), Students (06), Press (07), ShoppingComparisonService (08), SearchEngineIndex (09), Bloggers (10)



475
# File 'lib/onix/code.rb', line 475

code_identifier 154