class TopGeniusSongs::Song
Attributes
artist[RW]
description[RW]
link[RW]
title[RW]
Public Class Methods
all()
click to toggle source
# File lib/top_genius_songs/song.rb, line 5 def self.all @@all end
Public Instance Methods
lyrics()
click to toggle source
# File lib/top_genius_songs/song.rb, line 11 def lyrics @lyrics ||= TopGeniusSongs::Scraper.get_lyrics(self.link) end