Exception: Vendor::Serrano::CrossrefBibtexParseError
- Inherits:
-
StandardError
- Object
- StandardError
- Vendor::Serrano::CrossrefBibtexParseError
- Defined in:
- lib/vendor/serrano.rb
Instance Attribute Summary collapse
-
#bibtex ⇒ Object
readonly
Returns the value of attribute bibtex.
-
#doi ⇒ Object
readonly
Returns the value of attribute doi.
Instance Method Summary collapse
-
#initialize(doi:, bibtex:, message:) ⇒ CrossrefBibtexParseError
constructor
A new instance of CrossrefBibtexParseError.
Constructor Details
#initialize(doi:, bibtex:, message:) ⇒ CrossrefBibtexParseError
Returns a new instance of CrossrefBibtexParseError.
10 11 12 13 14 |
# File 'lib/vendor/serrano.rb', line 10 def initialize(doi:, bibtex:, message:) super() @doi = doi @bibtex = bibtex end |
Instance Attribute Details
#bibtex ⇒ Object (readonly)
Returns the value of attribute bibtex.
8 9 10 |
# File 'lib/vendor/serrano.rb', line 8 def bibtex @bibtex end |
#doi ⇒ Object (readonly)
Returns the value of attribute doi.
8 9 10 |
# File 'lib/vendor/serrano.rb', line 8 def doi @doi end |