Class: NVD::JSONFeeds::MetaFeedURI

Inherits:
FeedURI
  • Object
show all
Defined in:
lib/nvd/json_feeds/meta_feed_uri.rb

Overview

Represents a URI to the .meta feed file.

Constant Summary

Constants inherited from FeedURI

FeedURI::BASE_URI, FeedURI::SCHEMA_VERSION

Instance Attribute Summary

Attributes inherited from FeedURI

#ext, #filename, #name, #uri

Instance Method Summary collapse

Methods inherited from FeedURI

#download, #get, #initialize, #inspect, #to_s, #to_uri

Constructor Details

This class inherits a constructor from NVD::JSONFeeds::FeedURI

Instance Method Details

#parseFeedMeta

Requests and parses the feed metadata.

Returns:

  • (FeedMeta)


16
17
18
# File 'lib/nvd/json_feeds/meta_feed_uri.rb', line 16

def parse
  Meta.parse(get)
end