Class: Purdie::LicenseManager
- Inherits:
-
Object
- Object
- Purdie::LicenseManager
- Defined in:
- lib/purdie/license_manager.rb
Constant Summary collapse
- LOOKUPS =
YAML.load File.read File.join(File.dirname(__FILE__), '..', '..', '_config/licenses.yaml')
Class Method Summary collapse
Class Method Details
.get(service, raw_name) ⇒ Object
5 6 7 |
# File 'lib/purdie/license_manager.rb', line 5 def self.get service, raw_name License.new service, raw_name, LOOKUPS[Purdie.basename service][raw_name] end |