Class: Stix2::CyberobservableObject::File
- Inherits:
-
Base
- Object
- Hashie::Dash
- Base
- Stix2::Common
- Base
- Stix2::CyberobservableObject::File
- Defined in:
- lib/stix2/cyberobservable_objects/file.rb
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ File
constructor
A new instance of File.
Methods inherited from Stix2::Common
#confidence_scale, #method_missing, #respond_to_missing?
Constructor Details
#initialize(args = {}) ⇒ File
Returns a new instance of File.
17 18 19 20 |
# File 'lib/stix2/cyberobservable_objects/file.rb', line 17 def initialize(args = {}) super validate_hashes! if @strict end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Stix2::Common