Class: Tweetable::Collection
- Inherits:
-
Persistable
- Object
- Ohm::Model
- Persistable
- Tweetable::Collection
- Defined in:
- lib/tweetable/collection.rb
Direct Known Subclasses
LinkCollection, MessageCollection, SearchCollection, UserCollection
Instance Method Summary collapse
Methods inherited from Persistable
#client, #config, find_or_create, #needs_update?
Instance Method Details
#validate ⇒ Object
8 9 10 11 |
# File 'lib/tweetable/collection.rb', line 8 def validate assert_present :name assert_unique :name end |