module NVD::JSONFeeds::Schema::HasDataVersion
Adds the {#data_version} attribute.
Constants
- DATA_VERSIONS
Attributes
data_version[R]
The data version.
@return [:“4.0”, String]
Public Class Methods
included(base)
click to toggle source
Extends {ClassMethods}.
# File lib/nvd/json_feeds/schema/has_data_version.rb, line 13 def self.included(base) base.extend ClassMethods end
new(data_version: )
click to toggle source
Initializes the data version.
@param [:“4.0”, String] data_version
The data version.
# File lib/nvd/json_feeds/schema/has_data_version.rb, line 48 def initialize(data_version: ) @data_version = data_version end