Class: LicenseFinder::MixPackage
- Defined in:
- lib/license_finder/packages/mix_package.rb
Instance Attribute Summary
Attributes inherited from Package
#authors, #children, #description, #groups, #homepage, #install_path, #license_names_from_spec, #logger, #manual_approval, #name, #parents, #summary, #version
Instance Method Summary collapse
Methods inherited from Package
#<=>, #activations, #approved?, #approved_manually!, #approved_manually?, #decide_on_license, #eql?, #hash, #initialize, #license_files, license_names_from_standard_spec, #licenses, #licenses_from_spec, #licensing, #log_activation, #missing?, #notice_files, #permitted!, #permitted?, #restricted!, #restricted?
Constructor Details
This class inherits a constructor from LicenseFinder::Package
Instance Method Details
#package_manager ⇒ Object
5 6 7 |
# File 'lib/license_finder/packages/mix_package.rb', line 5 def package_manager 'Mix' end |
#package_url ⇒ Object
9 10 11 |
# File 'lib/license_finder/packages/mix_package.rb', line 9 def package_url "https://hex.pm/packages/#{CGI.escape(name)}/#{CGI.escape(version)}" end |