Sha256: 54bf6f4b3b6b69d423c4121508b7e14c632bb5a02d91c0f95076d3385a462026
Contents?: true
Size: 781 Bytes
Versions: 16
Compression:
Stored size: 781 Bytes
Contents
# frozen_string_literal: true module Seam module Clients class Events < BaseClient def get(event_id: nil, event_type: nil, device_id: nil) request_seam_object( :get, "/events/get", Seam::Event, "event", params: {event_id: event_id, event_type: event_type, device_id: device_id}.compact ) end def list(since: str, event_type: nil, event_types: nil, device_id: nil, device_ids: nil) request_seam_object( :get, "/events/list", Seam::Event, "events", params: {event_type: event_type, event_types: event_types, device_id: device_id, device_ids: device_ids, since: since}.compact ) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems