Class: PatientZero::Message::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/patient_zero/message/base.rb

Direct Known Subclasses

Facebook, Instagram, Twitter

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Base

Returns a new instance of Base.



6
7
8
# File 'lib/patient_zero/message/base.rb', line 6

def initialize data
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



4
5
6
# File 'lib/patient_zero/message/base.rb', line 4

def data
  @data
end