Class: ONIX::ONIX21::SubsetDSL
- Defined in:
- lib/onix/onix21.rb
Direct Known Subclasses
MainSubject, MediaFile, NotForSale, OtherText, Price, Product, RelatedProduct, SalesRights, SupplyDetail, Title
Instance Attribute Summary
Attributes included from Attributes
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from SubsetDSL
element, elements, get_class, inherited, #initialize, n, #parse, register_elements, register_scopes, #register_subset_array, registered_elements, #registered_elements, registered_scopes, scope
Methods inherited from Subset
parse, #parse, #tag_match, #unsupported
Methods included from Attributes
attribute_class, #parse_attributes, #serialized_attributes
Constructor Details
This class inherits a constructor from ONIX::SubsetDSL
Class Method Details
.ref_to_short(name) ⇒ Object
21 22 23 |
# File 'lib/onix/onix21.rb', line 21 def ref_to_short(name) ONIX::ONIX21::RefToShort.names[name] end |
.short_to_ref(name) ⇒ Object
17 18 19 |
# File 'lib/onix/onix21.rb', line 17 def short_to_ref(name) ONIX::ONIX21::ShortToRef.names[name] end |