Sha256: eb4315a0ba8b61d415a2dc234c1a05212295fba2d4126f47fd9826bdadb981b3
Contents?: true
Size: 533 Bytes
Versions: 5
Compression:
Stored size: 533 Bytes
Contents
module Kloudless # https://developers.kloudless.com/docs#events class Event < Model # https://developers.kloudless.com/docs#events-list-file/folder-events def self.list(account_id:, **params) path = "/accounts/#{account_id}/events" Kloudless::Collection.new(self, http.get(path, params: params)) end # https://developers.kloudless.com/docs#events-retrieve-latest-cursor def self.cursor(account_id:) path = "/accounts/#{account_id}/events/latest" new(http.get(path)) end end end
Version data entries
5 entries across 5 versions & 1 rubygems