Class: Shopify::Product
- Inherits:
-
ShopifyModel
- Object
- ShopifyModel
- Shopify::Product
- Defined in:
- lib/shopify.rb
Overview
/admin/products.xml?collection_id=*
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#body_html ⇒ Object
Returns the value of attribute body_html.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#handle ⇒ Object
Returns the value of attribute handle.
-
#id ⇒ Object
Returns the value of attribute id.
-
#images ⇒ Object
Get all images for this product.
-
#product_type ⇒ Object
Returns the value of attribute product_type.
-
#published_at ⇒ Object
Returns the value of attribute published_at.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#title ⇒ Object
Returns the value of attribute title.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#variants ⇒ Object
Returns the value of attribute variants.
-
#vendor ⇒ Object
Returns the value of attribute vendor.
Attributes inherited from ShopifyModel
Instance Method Summary collapse
-
#variant ⇒ Object
Get all variants of this product.
Methods inherited from ShopifyModel
children_of, #initialize, #inspect, instantiate, is_child?, top_level
Constructor Details
This class inherits a constructor from Shopify::ShopifyModel
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
136 137 138 |
# File 'lib/shopify.rb', line 136 def body @body end |
#body_html ⇒ Object
Returns the value of attribute body_html.
136 137 138 |
# File 'lib/shopify.rb', line 136 def body_html @body_html end |
#created_at ⇒ Object
Returns the value of attribute created_at.
136 137 138 |
# File 'lib/shopify.rb', line 136 def created_at @created_at end |
#handle ⇒ Object
Returns the value of attribute handle.
136 137 138 |
# File 'lib/shopify.rb', line 136 def handle @handle end |
#id ⇒ Object
Returns the value of attribute id.
136 137 138 |
# File 'lib/shopify.rb', line 136 def id @id end |
#images ⇒ Object
Get all images for this product.
139 140 141 |
# File 'lib/shopify.rb', line 139 def images @images end |
#product_type ⇒ Object
Returns the value of attribute product_type.
136 137 138 |
# File 'lib/shopify.rb', line 136 def product_type @product_type end |
#published_at ⇒ Object
Returns the value of attribute published_at.
136 137 138 |
# File 'lib/shopify.rb', line 136 def published_at @published_at end |
#tags ⇒ Object
Returns the value of attribute tags.
136 137 138 |
# File 'lib/shopify.rb', line 136 def end |
#title ⇒ Object
Returns the value of attribute title.
136 137 138 |
# File 'lib/shopify.rb', line 136 def title @title end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
136 137 138 |
# File 'lib/shopify.rb', line 136 def updated_at @updated_at end |
#variants ⇒ Object
Returns the value of attribute variants.
136 137 138 |
# File 'lib/shopify.rb', line 136 def variants @variants end |
#vendor ⇒ Object
Returns the value of attribute vendor.
136 137 138 |
# File 'lib/shopify.rb', line 136 def vendor @vendor end |
Instance Method Details
#variant ⇒ Object
Get all variants of this product.
143 144 |
# File 'lib/shopify.rb', line 143 def variant end |