Class: LicenseAcceptance::ProductRelationship

Inherits:
Object
  • Object
show all
Defined in:
lib/license_acceptance/product_relationship.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#childrenObject (readonly)

Returns the value of attribute children


4
5
6
# File 'lib/license_acceptance/product_relationship.rb', line 4

def children
  @children
end

#parentObject (readonly)

Returns the value of attribute parent


4
5
6
# File 'lib/license_acceptance/product_relationship.rb', line 4

def parent
  @parent
end

#parent_versionObject (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