Class: ONIX::Publisher
- Defined in:
- lib/onix/entity.rb
Instance Attribute Summary
Attributes inherited from Entity
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ Publisher
constructor
A new instance of Publisher.
Methods inherited from Entity
identifier_tag, name_tag, #parse
Methods included from GlnMethods
Methods inherited from SubsetDSL
_ancestor_registered_scopes, _ancestors_registered_elements, ancestor_registered_scopes, ancestors_registered_elements, element, elements, get_class, #parse, ref_to_short, registered_elements, registered_scopes, scope, short_to_ref, #unsupported
Methods inherited from Subset
parse, #parse, tag_match, #tag_match, #unsupported
Constructor Details
#initialize ⇒ Publisher
Returns a new instance of Publisher.
113 114 115 116 |
# File 'lib/onix/entity.rb', line 113 def initialize super @websites = [] end |
Class Method Details
.identifier_class ⇒ Object
126 127 128 |
# File 'lib/onix/entity.rb', line 126 def self.identifier_class PublisherIdentifier end |
.prefix ⇒ Object
118 119 120 |
# File 'lib/onix/entity.rb', line 118 def self.prefix "Publisher" end |
.role_class ⇒ Object
130 131 132 |
# File 'lib/onix/entity.rb', line 130 def self.role_class PublishingRole end |
.role_tag ⇒ Object
122 123 124 |
# File 'lib/onix/entity.rb', line 122 def self.role_tag "PublishingRole" end |