class Elibri::ONIX::Release_3_0::Imprint
Constants
- ATTRIBUTES
from
ONIX
documentation: A repeatable group of data elements which together identify an imprint or brand under which the product is marketed. The composite must carry either a name identifier or a name or both.- RELATIONS
Attributes
name[RW]
to_xml[RW]
Public Class Methods
new(data)
click to toggle source
# File lib/elibri_onix/onix_3_0/imprint.rb, line 23 def initialize(data) @to_xml = data.to_s @name = data.at_css('ImprintName').try(:text) end