Class: Scrobbler::Radio

Inherits:
Base
  • Object
show all
Defined in:
lib/scrobbler/radio.rb

Overview

TODO:

everything

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

api_key=, connection, get, maybe_streamable_attribute, maybe_streamable_node, post_request, request, sanitize, secret=

Constructor Details

#initialize(station) ⇒ Radio

Returns a new instance of Radio.



6
7
8
# File 'lib/scrobbler/radio.rb', line 6

def initialize(station)
  @station = station
end

Instance Attribute Details

#stationObject (readonly)

Returns the value of attribute station.



4
5
6
# File 'lib/scrobbler/radio.rb', line 4

def station
  @station
end