class ShopifyClient::CustomCollection

Public Class Methods

plural_name() click to toggle source
# File lib/shopify_client/custom_collection.rb, line 15
def self.plural_name
  :custom_collections
end
single_name() click to toggle source
# File lib/shopify_client/custom_collection.rb, line 11
def self.single_name
  :custom_collection
end

Public Instance Methods

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