Class Twitter::Trendline
In: lib/twitter/model.rb
Parent: Object

Represents a sorted, dated and typed list of trends.

To find out when this Trendline was created query the as_of attribute. To find out what type Trendline is use the type attribute. You can iterator over the trends in the Trendline with each or by index, whichever you prefer.

Methods

<=>   []   attributes   each   init  

Included Modules

ModelMixin Enumerable Comparable

Attributes

trends  [RW] 

Public Class methods

Public Instance methods

Spaceship operator definition needed by Comparable mixin for sort, etc.

index operator definition needed to iterate over trends in the +::Twitter::Trendline+ object using for or otherwise

each definition needed by Enumerable mixin for first, …

Protected Instance methods

Constructor callback

[Validate]