Class: UR::Product::RelatedProductId
- Inherits:
-
Object
- Object
- UR::Product::RelatedProductId
- Defined in:
- lib/ur/product/related_product_id.rb
Instance Attribute Summary collapse
-
#ur_product_id ⇒ Object
readonly
Returns the value of attribute ur_product_id.
Instance Method Summary collapse
-
#initialize(ur_product_id) ⇒ RelatedProductId
constructor
A new instance of RelatedProductId.
- #to_s ⇒ Object
Constructor Details
#initialize(ur_product_id) ⇒ RelatedProductId
Returns a new instance of RelatedProductId.
5 6 7 |
# File 'lib/ur/product/related_product_id.rb', line 5 def initialize(ur_product_id) @ur_product_id = ur_product_id end |
Instance Attribute Details
#ur_product_id ⇒ Object (readonly)
Returns the value of attribute ur_product_id.
4 5 6 |
# File 'lib/ur/product/related_product_id.rb', line 4 def ur_product_id @ur_product_id end |
Instance Method Details
#to_s ⇒ Object
9 10 11 |
# File 'lib/ur/product/related_product_id.rb', line 9 def to_s @ur_product_id.to_s end |