Class: ModraUp::Licensing::ExtensionLicense
- Inherits:
-
Object
- Object
- ModraUp::Licensing::ExtensionLicense
Overview
An extended authorization status. Returned by ModraUp::Licensing.get_extension_license.
Instance Method Summary # collapse
-
#licensed? ⇒ Boolean
Returns whether the extension is authorized. The host is always true.
-
#days_remaining ⇒ Integer
Days remaining. Permanent license is 0.
-
#state ⇒ Integer
ModraUp::Licensing::LICENSED and other status codes. This host is always licensed.
-
#error_description ⇒ String
Failure description. Is an empty string when authorized.
Instance Method Details
license.licensed? ⇒ Boolean
Returns whether the extension is authorized. The host is always true.
license.days_remaining ⇒ Integer
Days remaining. Permanent license is 0.
license.state ⇒ Integer
ModraUp::Licensing::LICENSED and other status codes. This host is always licensed.
license.error_description ⇒ String
Failure description. Is an empty string when authorized.