Class: Shopify::Product

Inherits:
ShopifyModel show all
Defined in:
lib/shopify.rb

Overview

/admin/products.xml?collection_id=*

Instance Attribute Summary collapse

Attributes inherited from ShopifyModel

#shop

Instance Method Summary collapse

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

#bodyObject

Returns the value of attribute body.



136
137
138
# File 'lib/shopify.rb', line 136

def body
  @body
end

#body_htmlObject

Returns the value of attribute body_html.



136
137
138
# File 'lib/shopify.rb', line 136

def body_html
  @body_html
end

#created_atObject

Returns the value of attribute created_at.



136
137
138
# File 'lib/shopify.rb', line 136

def created_at
  @created_at
end

#handleObject

Returns the value of attribute handle.



136
137
138
# File 'lib/shopify.rb', line 136

def handle
  @handle
end

#idObject

Returns the value of attribute id.



136
137
138
# File 'lib/shopify.rb', line 136

def id
  @id
end

#imagesObject

Get all images for this product.



139
140
141
# File 'lib/shopify.rb', line 139

def images
  @images
end

#product_typeObject

Returns the value of attribute product_type.



136
137
138
# File 'lib/shopify.rb', line 136

def product_type
  @product_type
end

#published_atObject

Returns the value of attribute published_at.



136
137
138
# File 'lib/shopify.rb', line 136

def published_at
  @published_at
end

#tagsObject

Returns the value of attribute tags.



136
137
138
# File 'lib/shopify.rb', line 136

def tags
  @tags
end

#titleObject

Returns the value of attribute title.



136
137
138
# File 'lib/shopify.rb', line 136

def title
  @title
end

#updated_atObject

Returns the value of attribute updated_at.



136
137
138
# File 'lib/shopify.rb', line 136

def updated_at
  @updated_at
end

#variantsObject

Returns the value of attribute variants.



136
137
138
# File 'lib/shopify.rb', line 136

def variants
  @variants
end

#vendorObject

Returns the value of attribute vendor.



136
137
138
# File 'lib/shopify.rb', line 136

def vendor
  @vendor
end

Instance Method Details

#variantObject

Get all variants of this product.



143
144
# File 'lib/shopify.rb', line 143

def variant
end