Module: Sketchup::Licensing
- Defined in:
- lib/sketchup-api-stubs/stubs/Sketchup/Licensing.rb
Overview
The Sketchup::Licensing
module contains methods for extensions purchased from Extension Warehouse to check their licensing status.
It is advised to place these calls inside encrypted Ruby (.rbe) files. This API is also exposed via the SketchUp C API. Extensions that already use native code should prefer using the native API, which should be more secure than their Ruby API counterparts.
For more details, see: Licensing Example
Defined Under Namespace
Classes: ExtensionLicense
Constant Summary collapse
- EXPIRED =
Constants
nil
- LICENSED =
Stub value.
nil
- NOT_LICENSED =
Stub value.
nil
- TRIAL =
Stub value.
nil
- TRIAL_EXPIRED =
Stub value.
nil
Class Method Summary collapse
-
.get_extension_license(extension_id) ⇒ ExtensionLicense
Acquires a license for a given extension.
Class Method Details
.get_extension_license(extension_id) ⇒ ExtensionLicense
Acquires a license for a given extension.
45 46 |
# File 'lib/sketchup-api-stubs/stubs/Sketchup/Licensing.rb', line 45 def self.get_extension_license(extension_id) end |