Class: Stix2::CyberobservableObject::File

Inherits:
Base show all
Defined in:
lib/stix2/cyberobservable_objects/file.rb

Instance Method Summary collapse

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