The library that lets you do stuff with DOIs.
And stuff.
VERSION="1.0.0"
Parses the given string as a DOI.
Raises an ArgumentError if parsing fails.
Looks for a DOI at doi.org.
Returns a URI if it finds a match, otherwise returns nil.
require 'doi/network'
url = DOI.find('10.17487/RFC8089')Gets data about a DOI from CrossRef.
require 'doi/network'
data = DOI.data('10.17487/RFC8089')Concatenation--Returns a new DOI containing other concatenated to this DOI's suffix string.
Append--Concatenates the given object to this DOI's suffix string.
Returns a String that represents this DOI.
- prefix: Prepends
'doi:'to the returned string.
Returns a URI.
For example: "https://doi.org/10.1000/foo%23bar"
- info: Returns an 'info:' URI instead of 'https:'
Looks for a DOI at doi.org.
Returns a URI if it finds a match, otherwise returns nil.
require 'doi/network'
url = DOI.parse('10.17487/RFC8089').findGets data about this DOI from CrossRef.
require 'doi/network'
data = DOI.parse('10.17487/RFC8089').dataWe require all contributors to comply with the Developer Certificate of Origin. This ensures that all contributions are properly licensed and attributed.

