lib/tweetable/persistable.rb in tweetable-0.1.13 vs lib/tweetable/persistable.rb in tweetable-0.1.14

- old
+ new

@@ -11,10 +11,10 @@ models.empty? ? self.create(attributes.merge(:created_at => Time.now.utc.to_s)) : models.first end def needs_update?(force = false) force or self.updated_at.blank? or (Time.parse(self.updated_at) + self.config[:update_delay]) < Time.now.utc - end + end def client Tweetable.client end \ No newline at end of file