Class: Ralyxa::ResponseEntities::Directives::AudioPlayer::Stop
- Inherits:
-
Object
- Object
- Ralyxa::ResponseEntities::Directives::AudioPlayer::Stop
- Defined in:
- lib/ralyxa/response_entities/directives/audio_player/stop.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.as_hash ⇒ Object
12 13 14 |
# File 'lib/ralyxa/response_entities/directives/audio_player/stop.rb', line 12 def self.as_hash new.to_h end |
Instance Method Details
#to_h ⇒ Object
6 7 8 9 10 |
# File 'lib/ralyxa/response_entities/directives/audio_player/stop.rb', line 6 def to_h {}.tap do |audio_player| audio_player['type'] = 'AudioPlayer.Stop' end end |