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.
207 208 209 210 |
# File 'lib/onix/onix21.rb', line 207 def initialize(name,role) @name = name @role = role end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name.
204 205 206 |
# File 'lib/onix/onix21.rb', line 204 def name @name end |
#role ⇒ Object
Returns the value of attribute role.
205 206 207 |
# File 'lib/onix/onix21.rb', line 205 def role @role end |
Instance Method Details
#identifiers ⇒ Object
212 213 214 |
# File 'lib/onix/onix21.rb', line 212 def identifiers [] end |
#websites ⇒ Object
216 217 218 |
# File 'lib/onix/onix21.rb', line 216 def websites [] end |