Class: AudioStream::AudioNotification

Inherits:
Object
  • Object
show all
Defined in:
lib/audio_stream/audio_notification.rb

Constant Summary collapse

STAT_NEXT =
:next
STAT_COMPLETE =
:complete

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stat, input, caller_obj) ⇒ AudioNotification

Returns a new instance of AudioNotification.



11
12
13
14
15
# File 'lib/audio_stream/audio_notification.rb', line 11

def initialize(stat, input, caller_obj)
  @stat = stat
  @input = input
  @caller_obj = caller_obj
end

Instance Attribute Details

#caller_objObject (readonly)

Returns the value of attribute caller_obj.



9
10
11
# File 'lib/audio_stream/audio_notification.rb', line 9

def caller_obj
  @caller_obj
end

#inputObject (readonly)

Returns the value of attribute input.



8
9
10
# File 'lib/audio_stream/audio_notification.rb', line 8

def input
  @input
end

#statObject (readonly)

Returns the value of attribute stat.



7
8
9
# File 'lib/audio_stream/audio_notification.rb', line 7

def stat
  @stat
end