lib/whatser/resources/poi.rb in whatser-0.5.0 vs lib/whatser/resources/poi.rb in whatser-0.6.0
- old
+ new
@@ -69,9 +69,17 @@
end
def comments(opts={})
Whatser::Comment.set(self.class.client).poi(id, opts)
end
+
+ def visitors(opts={})
+ Whatser::User.set(self.class.client).visitors(id, opts)
+ end
+
+ def collectors(opts={})
+ Whatser::User.set(self.class.client).collectors(id, opts)
+ end
def foursquare_connected?
!foursquare_id.blank?
end
\ No newline at end of file