lib/access/api.rb in access-2.0.4 vs lib/access/api.rb in access-2.0.5
- old
+ new
@@ -258,9 +258,33 @@
request.get("/usage/#{token}", "report", options) do |response|
ReportResponse.new(response)
end
end
+ def member_query_frequent(member, options = {})
+ request.get("/members/#{member}/queries/frequent", "report", options) do |response|
+ ReportResponse.new(response)
+ end
+ end
+
+ def member_query_recent(member, options = {})
+ request.get("/members/#{member}/queries/recent", "report", options) do |response|
+ ReportResponse.new(response)
+ end
+ end
+
+ def member_location_frequent(member, options = {})
+ request.get("/members/#{member}/locations/frequent", "report", options) do |response|
+ ReportResponse.new(response)
+ end
+ end
+
+ def member_location_recent(member, options = {})
+ request.get("/members/#{member}/locations/recent", "report", options) do |response|
+ ReportResponse.new(response)
+ end
+ end
+
private
def request
Access::Request.new
end