Module: MusicCast

Defined in:
lib/music_cast.rb,
lib/music_cast/api.rb,
lib/music_cast/version.rb,
lib/music_cast/api/set_mute.rb,
lib/music_cast/api/set_power.rb,
lib/music_cast/configuration.rb,
lib/music_cast/api/get_status.rb,
lib/music_cast/api/set_volume.rb,
lib/music_cast/errors/request_error.rb

Defined Under Namespace

Classes: API, Configuration, GetStatus, RequestError, SetMute, SetPower, SetVolume

Constant Summary collapse

VERSION =
'0.3.1'

Class Method Summary collapse

Class Method Details

.configurationObject Also known as: config



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

def configuration
  @configuration ||= Configuration.new
end

.configure {|configuration| ... } ⇒ Object

Yields:



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

def configure
  yield configuration
end