Class: Glyr::Result

Inherits:
Object
  • Object
show all
Defined in:
lib/LOLastfm/commands/glyr.rb

Instance Method Summary collapse

Instance Method Details

#to_hashObject



23
24
25
26
27
28
29
# File 'lib/LOLastfm/commands/glyr.rb', line 23

def to_hash
	if respond_to? :to_str
		{ source: source, url: url, content: to_str }
	else
		{ source: source, url: url }
	end
end