Class: Java::DeFelixbrunsJotifyMedia::Track

Inherits:
Object
  • Object
show all
Defined in:
lib/jotify/media.rb

Instance Method Summary collapse

Instance Method Details

#to_hObject



92
93
94
# File 'lib/jotify/media.rb', line 92

def to_h
  super.merge(:title=>title, :artist=>artist ? artist.name : nil, :album=>album ? album.name : nil)
end