Class: Twitter::SavedSearch

Inherits:
Base
  • Object
show all
Includes:
Creatable
Defined in:
lib/twitter/saved_search.rb

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods included from Creatable

#created_at

Methods inherited from Base

#[], #initialize, lazy_attr_reader

Constructor Details

This class inherits a constructor from Twitter::Base

Instance Method Details

#==(other) ⇒ Boolean

Parameters:

  • other (Twiter::SavedSearch)

Returns:

  • (Boolean)


11
12
13
# File 'lib/twitter/saved_search.rb', line 11

def ==(other)
  super || (other.class == self.class && other.id == self.id)
end