Class: Shirtsio::Product::Simple

Inherits:
Endpoint
  • Object
show all
Defined in:
lib/shirtsio/product.rb

Instance Method Summary collapse

Methods inherited from Endpoint

#initialize, #method_missing, #respond_to?

Constructor Details

This class inherits a constructor from Shirtsio::Endpoint

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Shirtsio::Endpoint

Instance Method Details

#full_productShirtsio::Product

Get the complete product object.

Returns:



15
16
17
# File 'lib/shirtsio/product.rb', line 15

def full_product
  Shirtsio::Product.find(product_id)
end