Class: Trendy::Trend

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

Overview

Trend contains the name, url (for current trends) of a single trending topic

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name.



41
42
43
# File 'lib/trendy.rb', line 41

def name
  @name
end

#urlObject

Returns the value of attribute url.



41
42
43
# File 'lib/trendy.rb', line 41

def url
  @url
end