Exception: Purl::MissingVersionError
- Defined in:
- lib/purl/download_url.rb
Overview
Error for missing version
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(message, type: nil) ⇒ MissingVersionError
constructor
A new instance of MissingVersionError.
Constructor Details
#initialize(message, type: nil) ⇒ MissingVersionError
248 249 250 251 |
# File 'lib/purl/download_url.rb', line 248 def initialize(, type: nil) @type = type super() end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
246 247 248 |
# File 'lib/purl/download_url.rb', line 246 def type @type end |