class Shirtsio::Product

Provides specifications, inventory data, and pictures of all products available before printing.

Public Class Methods

find(id) click to toggle source

Get product catalog information for a specific product id.

@return [Shirtsio::Product] a complete product object

# File lib/shirtsio/product.rb, line 7
def self.find(id)
  new(Shirtsio.get("/products/#{id}/"))
end