Class: ONIX::ONIX21::Supplier

Inherits:
Object
  • Object
show all
Defined in:
lib/onix/onix21.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nameObject

Returns the value of attribute name.



204
205
206
# File 'lib/onix/onix21.rb', line 204

def name
  @name
end

#roleObject

Returns the value of attribute role.



205
206
207
# File 'lib/onix/onix21.rb', line 205

def role
  @role
end

Instance Method Details

#identifiersObject



212
213
214
# File 'lib/onix/onix21.rb', line 212

def identifiers
  []
end

#websitesObject



216
217
218
# File 'lib/onix/onix21.rb', line 216

def websites
  []
end