Class: Twitter::Trend
Instance Attribute Summary (collapse)
-
- (Object) events
readonly
Returns the value of attribute events.
-
- (Object) name
readonly
Returns the value of attribute name.
-
- (Object) promoted_content
readonly
Returns the value of attribute promoted_content.
-
- (Object) query
readonly
Returns the value of attribute query.
-
- (Object) url
readonly
Returns the value of attribute url.
Instance Method Summary (collapse)
Methods inherited from Base
#[], #attr_equal, attr_reader, #attrs, #attrs_equal, fetch, fetch_or_new, from_response, identity_map, #initialize, store, #update
Constructor Details
This class inherits a constructor from Twitter::Base
Instance Attribute Details
- (Object) events (readonly)
Returns the value of attribute events
5 6 7 |
# File 'lib/twitter/trend.rb', line 5 def events @events end |
- (Object) name (readonly)
Returns the value of attribute name
5 6 7 |
# File 'lib/twitter/trend.rb', line 5 def name @name end |
- (Object) promoted_content (readonly)
Returns the value of attribute promoted_content
5 6 7 |
# File 'lib/twitter/trend.rb', line 5 def promoted_content @promoted_content end |
- (Object) query (readonly)
Returns the value of attribute query
5 6 7 |
# File 'lib/twitter/trend.rb', line 5 def query @query end |
- (Object) url (readonly)
Returns the value of attribute url
5 6 7 |
# File 'lib/twitter/trend.rb', line 5 def url @url end |
Instance Method Details
- (Boolean) ==(other)
9 10 11 |
# File 'lib/twitter/trend.rb', line 9 def ==(other) super || attr_equal(:name, other) || attrs_equal(other) end |