Sha256: fd085d144c005f26a3f1a5a643d281dc647f7f61913642d14f38516fb330ad6c
Contents?: true
Size: 204 Bytes
Versions: 2
Compression:
Stored size: 204 Bytes
Contents
module PirschApi class EventResource < BaseResource def request_url "statistics/events" end def parse_response(body) JSON.parse(body)&.map { |o| Event.new o } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pirsch_api-0.1.1 | lib/pirsch_api/resources/statistics/event.rb |
pirsch_api-0.1.0 | lib/pirsch_api/resources/statistics/event.rb |