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