Class: MintPress::Common::LicenseUtils
- Inherits:
-
Object
- Object
- MintPress::Common::LicenseUtils
- Defined in:
- src/mintpress-common/lib/mintpress-common/license-utils.rb
Properties (Read/Write)
Properties (Read Only)
Instance Attribute Summary collapse
-
#license_file ⇒ Object
readonly
Returns the value of attribute license_file.
-
#valid ⇒ Object
readonly
Returns the value of attribute valid.
Instance Method Summary collapse
-
#initialize(opts = nil) ⇒ LicenseUtils
constructor
A new instance of LicenseUtils.
-
#is_valid?(product) ⇒ Boolean
Validate License.
Constructor Details
#initialize(opts = nil) ⇒ LicenseUtils
Returns a new instance of LicenseUtils.
Instance Attribute Details
#license_file ⇒ Object (readonly)
Returns the value of attribute license_file.
#valid ⇒ Object (readonly)
Returns the value of attribute valid.
Instance Method Details
#is_valid?(product) ⇒ Boolean
Validate License