Class: Shirtsio::Product::Simple
- Defined in:
- lib/shirtsio/product.rb
Instance Method Summary collapse
-
#full_product ⇒ Shirtsio::Product
Get the complete product object.
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_product ⇒ Shirtsio::Product
Get the complete product object.
15 16 17 |
# File 'lib/shirtsio/product.rb', line 15 def full_product Shirtsio::Product.find(product_id) end |