Class: ONIX::ONIX21::Supplier
- Inherits:
-
Object
- Object
- ONIX::ONIX21::Supplier
- Defined in:
- lib/onix/onix21.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#role ⇒ Object
Returns the value of attribute role.
Instance Method Summary collapse
- #identifiers ⇒ Object
-
#initialize(name, role) ⇒ Supplier
constructor
A new instance of Supplier.
- #websites ⇒ Object
Constructor Details
#initialize(name, role) ⇒ Supplier
Returns a new instance of Supplier.
179 180 181 182 |
# File 'lib/onix/onix21.rb', line 179 def initialize(name, role) @name = name @role = role end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
176 177 178 |
# File 'lib/onix/onix21.rb', line 176 def name @name end |
#role ⇒ Object
Returns the value of attribute role.
177 178 179 |
# File 'lib/onix/onix21.rb', line 177 def role @role end |
Instance Method Details
#identifiers ⇒ Object
184 185 186 |
# File 'lib/onix/onix21.rb', line 184 def identifiers [] end |
#websites ⇒ Object
188 189 190 |
# File 'lib/onix/onix21.rb', line 188 def websites [] end |