Class: UR::Product::RelatedProductId

Inherits:
Object
  • Object
show all
Defined in:
lib/ur/product/related_product_id.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject (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_sObject



9
10
11
# File 'lib/ur/product/related_product_id.rb', line 9

def to_s
  @ur_product_id.to_s
end