Gets information on a license from the Open Knowledge Foundation's Open Licenses Service.
This code is open source under the MIT license. See the LICENSE.md file for full details.
Add the gem to your Gemfile:
gem 'odlifier'
Require if you need to:
require 'odlifier'
Request a licence
license = Odlifier::License.define("odc-by-1.0")
Use the results
license.domain_content
license.domain_data
license.domain_software
license.family
license.id
license.is_okd_compliant
license.is_osi_compliant
license.is_osi_compliant
license.status
license.title
license.url
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request