Class: ONIX::Supplier

Inherits:
Entity show all
Defined in:
lib/onix/entity.rb

Instance Attribute Summary

Attributes inherited from Entity

#identifiers, #name, #role

Class Method Summary collapse

Methods inherited from Entity

identifier_tag, #initialize, name_tag, #parse, role_tag

Methods included from GlnMethods

#gln, #gln_identifier

Methods inherited from SubsetDSL

_ancestor_registered_scopes, _ancestors_registered_elements, ancestor_registered_scopes, ancestors_registered_elements, element, elements, get_class, #initialize, #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

This class inherits a constructor from ONIX::Entity

Class Method Details

.identifier_classObject



101
102
103
# File 'lib/onix/entity.rb', line 101

def self.identifier_class
  SupplierIdentifier
end

.prefixObject



97
98
99
# File 'lib/onix/entity.rb', line 97

def self.prefix
  "Supplier"
end

.role_classObject



105
106
107
# File 'lib/onix/entity.rb', line 105

def self.role_class
  SupplierRole
end