Class: Rubio::Station

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubio/station.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args, **kwargs) ⇒ Station

Returns a new instance of Station.



7
8
9
10
# File 'lib/rubio/station.rb', line 7

def initialize(*args, **kwargs)
  super(*args, **kwargs)
  self.playing = false
end

Instance Attribute Details

#languageObject

Returns the value of attribute language

Returns:

  • (Object)

    the current value of language



4
5
6
# File 'lib/rubio/station.rb', line 4

def language
  @language
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/rubio/station.rb', line 4

def name
  @name
end

#playObject

Returns the value of attribute play

Returns:

  • (Object)

    the current value of play



4
5
6
# File 'lib/rubio/station.rb', line 4

def play
  @play
end

#playingObject

Returns the value of attribute playing.



5
6
7
# File 'lib/rubio/station.rb', line 5

def playing
  @playing
end

#stationuuidObject

Returns the value of attribute stationuuid

Returns:

  • (Object)

    the current value of stationuuid



4
5
6
# File 'lib/rubio/station.rb', line 4

def stationuuid
  @stationuuid
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



4
5
6
# File 'lib/rubio/station.rb', line 4

def url
  @url
end