Class: Etapper::API::CartImage
- Inherits:
-
Object
- Object
- Etapper::API::CartImage
- Defined in:
- lib/etapper/api/service.rb
Overview
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(description = nil, url = nil) ⇒ CartImage
constructor
A new instance of CartImage.
Constructor Details
#initialize(description = nil, url = nil) ⇒ CartImage
Returns a new instance of CartImage.
1670 1671 1672 1673 |
# File 'lib/etapper/api/service.rb', line 1670 def initialize(description = nil, url = nil) @description = description @url = url end |
Instance Attribute Details
#description ⇒ Object
Returns the value of attribute description.
1667 1668 1669 |
# File 'lib/etapper/api/service.rb', line 1667 def description @description end |
#url ⇒ Object
Returns the value of attribute url.
1668 1669 1670 |
# File 'lib/etapper/api/service.rb', line 1668 def url @url end |