class ShopifyClient::SmartCollection

Public Class Methods

plural_name() click to toggle source
# File lib/shopify_client/smart_collection.rb, line 16
def self.plural_name
  :smart_collections
end
single_name() click to toggle source
# File lib/shopify_client/smart_collection.rb, line 12
def self.single_name
  :smart_collection
end

Public Instance Methods

image() click to toggle source
# File lib/shopify_client/smart_collection.rb, line 20
def image
  if attributes[:image]
    @image ||= Image.new(attributes[:image])
  end
end