Class: Slacktail::Base

Inherits:
Object
  • Object
show all
Includes:
HasClient
Defined in:
lib/slacktail/base.rb

Direct Known Subclasses

Attachment, Field, Message

Instance Attribute Summary collapse

Attributes included from HasClient

#client

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Base

Returns a new instance of Base.



7
8
9
# File 'lib/slacktail/base.rb', line 7

def initialize(data)
  @data = data
end

Instance Attribute Details

#dataObject (readonly)

Returns the value of attribute data.



5
6
7
# File 'lib/slacktail/base.rb', line 5

def data
  @data
end