Class: DependencyTimelineAudit::GemVersionCache

Inherits:
Object
  • Object
show all
Defined in:
lib/dependency-timeline-audit/gem_version_cache.rb

Instance Method Summary collapse

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_atObject



7
8
9
# File 'lib/dependency-timeline-audit/gem_version_cache.rb', line 7

def released_at
  @version_info['created_at']
end