lib/whatser/resources/user.rb in whatser-0.5.0 vs lib/whatser/resources/user.rb in whatser-0.6.0

- old
+ new

@@ -33,9 +33,17 @@ end def invite(emails) api_request :post, "/api/invites", {:query => {'emails' => emails} } end + + def visitors(id, params={}) + api_request :get, "/api/poi/#{id}/visitors", {:query => params} + end + + def collectors(id, params={}) + api_request :get, "/api/poi/#{id}/collectors", {:query => params} + end end def save if id.blank? api_request :post, "/api/users", {:body => {'user' => to_params} }, :auth => :key \ No newline at end of file