Class: DependencyTimelineAudit::GemVersionCache
- Inherits:
-
Object
- Object
- DependencyTimelineAudit::GemVersionCache
- Defined in:
- lib/dependency-timeline-audit/gem_version_cache.rb
Instance Method Summary collapse
-
#initialize(version_info) ⇒ GemVersionCache
constructor
A new instance of GemVersionCache.
- #released_at ⇒ Object
Constructor Details
#initialize(version_info) ⇒ GemVersionCache
Returns a new instance of GemVersionCache.
3 4 5 |
# File 'lib/dependency-timeline-audit/gem_version_cache.rb', line 3 def initialize(version_info) @version_info = version_info || {} end |
Instance Method Details
#released_at ⇒ Object
7 8 9 |
# File 'lib/dependency-timeline-audit/gem_version_cache.rb', line 7 def released_at @version_info['created_at'] end |