Class: Teemill::CustomProduct
- Inherits:
-
BaseResource
- Object
- BaseResource
- Teemill::CustomProduct
- Includes:
- LegacyAuthenticatedRequestHandler
- Defined in:
- lib/resources/custom_product.rb
Instance Attribute Summary collapse
-
#colours ⇒ Object
Returns the value of attribute colours.
-
#id ⇒ Object
Returns the value of attribute id.
-
#image ⇒ Object
Returns the value of attribute image.
-
#name ⇒ Object
Returns the value of attribute name.
-
#price ⇒ Object
Returns the value of attribute price.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
Methods included from LegacyAuthenticatedRequestHandler
#authenticated_request_headers, #base_url
Methods included from AuthenticatedRequestHandler
#authenticated_request_headers, #base_url, #send_get_request, #send_post_request, #send_request
Methods inherited from BaseResource
Instance Attribute Details
#colours ⇒ Object
Returns the value of attribute colours.
8 9 10 |
# File 'lib/resources/custom_product.rb', line 8 def colours @colours end |
#id ⇒ Object
Returns the value of attribute id.
8 9 10 |
# File 'lib/resources/custom_product.rb', line 8 def id @id end |
#image ⇒ Object
Returns the value of attribute image.
8 9 10 |
# File 'lib/resources/custom_product.rb', line 8 def image @image end |
#name ⇒ Object
Returns the value of attribute name.
8 9 10 |
# File 'lib/resources/custom_product.rb', line 8 def name @name end |
#price ⇒ Object
Returns the value of attribute price.
8 9 10 |
# File 'lib/resources/custom_product.rb', line 8 def price @price end |
#url ⇒ Object
Returns the value of attribute url.
8 9 10 |
# File 'lib/resources/custom_product.rb', line 8 def url @url end |
Instance Method Details
#create_resource_url ⇒ Object
10 11 12 |
# File 'lib/resources/custom_product.rb', line 10 def create_resource_url '/product/create' end |