lib/misp/org.rb in misp-0.1.3 vs lib/misp/org.rb in misp-0.1.4

- old
+ new

@@ -10,12 +10,12 @@ attr_reader :uuid def initialize(**attributes) attributes = normalize_attributes(**attributes) - @id = attributes.dig(:id) - @name = attributes.dig(:name) - @uuid = attributes.dig(:uuid) + @id = attributes[:id] + @name = attributes[:name] + @uuid = attributes[:uuid] end # # Returns a hash representation of the attribute data. #