class PirschApi::EventResource

Public Instance Methods

parse_response(body) click to toggle source
# File lib/pirsch_api/resources/statistics/event.rb, line 6
def parse_response(body)
  JSON.parse(body).map{ |o| Event.new o }
end
request_url() click to toggle source
# File lib/pirsch_api/resources/statistics/event.rb, line 3
def request_url
  "statistics/events"
end