Method: LicenseAcceptance::Product#initialize
- Defined in:
- lib/license_acceptance/product.rb
#initialize(id, pretty_name, filename, mixlib_name, license_required_version) ⇒ Product
Returns a new instance of Product.
6 7 8 9 10 11 12 13 |
# File 'lib/license_acceptance/product.rb', line 6 def initialize(id, pretty_name, filename, mixlib_name, license_required_version) # id is the internal representation of this product as license-acceptance knows it @id = id @pretty_name = pretty_name @filename = filename @mixlib_name = mixlib_name @license_required_version = license_required_version end |