Class: Shoutcast::Stationlist
- Inherits:
-
Object
- Object
- Shoutcast::Stationlist
- Extended by:
- Forwardable
- Includes:
- Xml
- Defined in:
- lib/shoutcast_api.rb
Class Attribute Summary collapse
-
.base_uri ⇒ Object
Returns the value of attribute base_uri.
Instance Method Summary collapse
Methods included from Xml
Class Attribute Details
.base_uri ⇒ Object
Returns the value of attribute base_uri.
115 116 117 |
# File 'lib/shoutcast_api.rb', line 115 def base_uri @base_uri end |
Instance Method Details
#tunein(station) ⇒ Object
119 120 121 |
# File 'lib/shoutcast_api.rb', line 119 def tunein(station) "#{self.class.base_uri}#{tunein_base_path}?id=#{station.id}" end |