Class: Scrobbler::Radio
Instance Attribute Summary (collapse)
-
- (Object) station
readonly
Returns the value of attribute station.
Instance Method Summary (collapse)
-
- (Radio) initialize(station)
constructor
A new instance of Radio.
- - (Object) playlist
- - (Object) tune
Methods inherited from Base
add_cache, api_key=, #call, #call_pageable, fetch_http, get, load_from_cache, #populate_data, post_request, #request, request, sanitize, save_to_cache, secret=, validate_response_document
Constructor Details
- (Radio) initialize(station)
A new instance of Radio
6 7 8 |
# File 'lib/scrobbler/radio.rb', line 6 def initialize(station) @station = station end |
Instance Attribute Details
- (Object) station (readonly)
Returns the value of attribute station
4 5 6 |
# File 'lib/scrobbler/radio.rb', line 4 def station @station end |
Instance Method Details
- (Object) playlist
15 16 17 18 |
# File 'lib/scrobbler/radio.rb', line 15 def playlist # This function require authentication, but SimpleAuth is not yet 2.0 raise NotImplementedError end |
- (Object) tune
10 11 12 13 |
# File 'lib/scrobbler/radio.rb', line 10 def tune # This function require authentication, but SimpleAuth is not yet 2.0 raise NotImplementedError end |