Class: Scrobbler::Radio
Overview
TODO:
everything
Instance Attribute Summary collapse
-
#station ⇒ Object
readonly
Returns the value of attribute station.
Instance Method Summary collapse
-
#initialize(station) ⇒ Radio
constructor
A new instance of Radio.
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
#station ⇒ Object (readonly)
Returns the value of attribute station.
4 5 6 |
# File 'lib/scrobbler/radio.rb', line 4 def station @station end |