Class: Xsys::Model::ProductProvider
- Inherits:
-
Object
- Object
- Xsys::Model::ProductProvider
- Defined in:
- lib/xsys/model/product_provider.rb
Instance Attribute Summary collapse
-
#active ⇒ Object
Returns the value of attribute active.
-
#address ⇒ Object
Returns the value of attribute address.
-
#cuit ⇒ Object
Returns the value of attribute cuit.
-
#id ⇒ Object
Returns the value of attribute id.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#name ⇒ Object
Returns the value of attribute name.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#zip_code ⇒ Object
Returns the value of attribute zip_code.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ ProductProvider
constructor
A new instance of ProductProvider.
Constructor Details
#initialize(attributes = {}) ⇒ ProductProvider
Returns a new instance of ProductProvider.
7 8 9 10 11 |
# File 'lib/xsys/model/product_provider.rb', line 7 def initialize(attributes={}) attributes.each do |k,v| self.send("#{k}=", v) end end |
Instance Attribute Details
#active ⇒ Object
Returns the value of attribute active.
4 5 6 |
# File 'lib/xsys/model/product_provider.rb', line 4 def active @active end |
#address ⇒ Object
Returns the value of attribute address.
4 5 6 |
# File 'lib/xsys/model/product_provider.rb', line 4 def address @address end |
#cuit ⇒ Object
Returns the value of attribute cuit.
4 5 6 |
# File 'lib/xsys/model/product_provider.rb', line 4 def cuit @cuit end |
#id ⇒ Object
Returns the value of attribute id.
4 5 6 |
# File 'lib/xsys/model/product_provider.rb', line 4 def id @id end |
#kind ⇒ Object
Returns the value of attribute kind.
4 5 6 |
# File 'lib/xsys/model/product_provider.rb', line 4 def kind @kind end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/xsys/model/product_provider.rb', line 4 def name @name end |
#phone ⇒ Object
Returns the value of attribute phone.
4 5 6 |
# File 'lib/xsys/model/product_provider.rb', line 4 def phone @phone end |
#zip_code ⇒ Object
Returns the value of attribute zip_code.
4 5 6 |
# File 'lib/xsys/model/product_provider.rb', line 4 def zip_code @zip_code end |