Class: MusicCast::SetMute

Inherits:
API
  • Object
show all
Defined in:
lib/music_cast/api/set_mute.rb

Instance Method Summary collapse

Methods inherited from API

#configuration

Instance Method Details

#offObject



7
8
9
# File 'lib/music_cast/api/set_mute.rb', line 7

def off
  make_request('main/setMute?enable=false')
end

#onObject



3
4
5
# File 'lib/music_cast/api/set_mute.rb', line 3

def on
  make_request('main/setMute?enable=true')
end