Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.37 KB

File metadata and controls

38 lines (32 loc) · 1.37 KB

WhatpulseSdk::PulseResource

Properties

Name Type Description Notes
id Integer The unique identifier for the pulse.
date String The date and time when the pulse was recorded in ISO 8601 format.
keys Integer The number of keys pressed in this pulse.
clicks Integer The number of mouse clicks in this pulse.
download_mb Float The amount of data downloaded in this pulse, in megabytes.
upload_mb Float The amount of data uploaded in this pulse, in megabytes.
uptime_seconds Integer The uptime recorded in this pulse, in seconds.
scrolls Integer The number of mouse scrolls recorded in this pulse.
distance_miles Float The distance the mouse has moved in miles in this pulse.
auto_pulse Boolean Whether this pulse was automatically generated by the app.
client_version String The version of the WhatPulse client that recorded this pulse.

Example

require 'whatpulse-sdk'

instance = WhatpulseSdk::PulseResource.new(
  id: null,
  date: null,
  keys: null,
  clicks: null,
  download_mb: null,
  upload_mb: null,
  uptime_seconds: null,
  scrolls: null,
  distance_miles: null,
  auto_pulse: null,
  client_version: null
)