Class: LicenseAcceptance::ProductRelationship
- Inherits:
-
Object
- Object
- LicenseAcceptance::ProductRelationship
- Defined in:
- lib/license_acceptance/product_relationship.rb
Instance Attribute Summary collapse
-
#children ⇒ Object
readonly
Returns the value of attribute children.
-
#parent ⇒ Object
readonly
Returns the value of attribute parent.
-
#parent_version ⇒ Object
readonly
Returns the value of attribute parent_version.
Instance Method Summary collapse
-
#initialize(parent, children, parent_version) ⇒ ProductRelationship
constructor
A new instance of ProductRelationship.
Constructor Details
#initialize(parent, children, parent_version) ⇒ ProductRelationship
Returns a new instance of ProductRelationship.
6 7 8 9 10 |
# File 'lib/license_acceptance/product_relationship.rb', line 6 def initialize(parent, children, parent_version) @parent = parent @children = children @parent_version = parent_version end |
Instance Attribute Details
#children ⇒ Object (readonly)
Returns the value of attribute children.
4 5 6 |
# File 'lib/license_acceptance/product_relationship.rb', line 4 def children @children end |
#parent ⇒ Object (readonly)
Returns the value of attribute parent.
4 5 6 |
# File 'lib/license_acceptance/product_relationship.rb', line 4 def parent @parent end |
#parent_version ⇒ Object (readonly)
Returns the value of attribute parent_version.
4 5 6 |
# File 'lib/license_acceptance/product_relationship.rb', line 4 def parent_version @parent_version end |