Class: NVD::JSONFeeds::JSONFeedFile
- Defined in:
- lib/nvd/json_feeds/json_feed_file.rb
Overview
Represents a .json
feed file.
Instance Attribute Summary
Attributes inherited from FeedFile
Instance Method Summary collapse
-
#read ⇒ String
Reads the JSON feed file.
Methods inherited from FeedFile
#initialize, #inspect, #json, parse, #parse, #sha256, #to_s
Constructor Details
This class inherits a constructor from NVD::JSONFeeds::FeedFile
Instance Method Details
#read ⇒ String
Reads the JSON feed file.
15 16 17 |
# File 'lib/nvd/json_feeds/json_feed_file.rb', line 15 def read File.read(@path) end |