class OTX::Indicator::Activity
Attributes
data[RW]
data_key[RW]
domain[RW]
file[RW]
first_date[RW]
last_date[RW]
md5[RW]
name[RW]
source[RW]
status[RW]
type[RW]
url[RW]
visible[RW]
vt[RW]
Public Class Methods
new(attributes={})
click to toggle source
# File lib/otx_ruby/types/activity.rb, line 8 def initialize(attributes={}) attributes.each do |key, value| if key != 'data' send("#{key.downcase}=", value) else @data = OTX::Indicator::Data.new(value) end end end