Class: TiendaNube::ProductVariant
- Inherits:
-
Resource::Base
- Object
- Resource::Base
- TiendaNube::ProductVariant
- Defined in:
- lib/tienda_nube/resource.rb
Class Attribute Summary collapse
-
.product_id ⇒ Object
Returns the value of attribute product_id.
Class Method Summary collapse
Methods inherited from Resource::Base
all, create, delete, from_url, get, update
Class Attribute Details
.product_id ⇒ Object
Returns the value of attribute product_id.
108 109 110 |
# File 'lib/tienda_nube/resource.rb', line 108 def product_id @product_id end |
Class Method Details
.name ⇒ Object
110 111 112 |
# File 'lib/tienda_nube/resource.rb', line 110 def name "products/#{self.product_id}/variants" end |