class IsoBibItem::OrgIdentifier
Organization
identifier.
Attributes
type[R]
@return [String]
value[R]
@return [String]
Public Class Methods
new(type, value)
click to toggle source
@param type [String] @param value [String]
# File lib/iso_bib_item/organization.rb, line 21 def initialize(type, value) @type = type @value = value end
Public Instance Methods
to_xml(builder)
click to toggle source
# File lib/iso_bib_item/organization.rb, line 26 def to_xml(builder) builder.identifier(value, type: type) end