lib/whatser/resources/poi.rb in whatser-0.3.0 vs lib/whatser/resources/poi.rb in whatser-0.3.1

- old
+ new

@@ -49,15 +49,19 @@ def media(opts={}) Whatser::Media.list(id, opts) end def reviews(opts={}) - Whatser::Review.list(id, opts) + Whatser::Review.set(self.class.client).list(id, opts) end def details(opts={}) - Whatser::Detail.list(id, opts) - end + Whatser::Detail.set(self.class.client).list(id, opts) + end + + def activity(opts) + Whatser::ActivityFeed.set(self.class.client).spot( self.id, opts ) + end def foursquare_connected? !foursquare_id.blank? end \ No newline at end of file