Class: AtlassianAppVersions::PluginVersion
- Inherits:
-
AbstractVersion
- Object
- AbstractVersion
- AtlassianAppVersions::PluginVersion
- Defined in:
- lib/atlassian_app_versions.rb
Instance Attribute Summary
Attributes inherited from AbstractVersion
Instance Method Summary collapse
-
#relNotes ⇒ Object
Some plugin release don’t have release notes, in which case return nil.
Methods inherited from AbstractVersion
#<=>, #initialize, #inspect, #keys, #method_missing, #releaseDate, #respond_to_missing?, #to_s, #versionJSON
Constructor Details
This class inherits a constructor from AtlassianAppVersions::AbstractVersion
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class AtlassianAppVersions::AbstractVersion
Instance Method Details
#relNotes ⇒ Object
Some plugin release don’t have release notes, in which case return nil
340 341 342 343 344 |
# File 'lib/atlassian_app_versions.rb', line 340 def relNotes if versionJSON["releaseNotes"] then versionJSON["releaseNotes"].scan(/(?<=href=")[^"]+elease\+[nN]otes/)&.first&.strip end end |