Skip to content

Latest commit

 

History

History
32 lines (26 loc) · 1.08 KB

File metadata and controls

32 lines (26 loc) · 1.08 KB

WhatpulseSdk::UserResourceLastPulse

Properties

Name Type Description Notes
date String The date of the last pulse, in ISO 8601 format.
keys Integer The number of keys pressed in the last pulse.
clicks Integer The number of mouse clicks in the last pulse.
download_mb Float The amount of data downloaded in the last pulse, in megabytes.
upload_mb Float The amount of data uploaded in the last pulse, in megabytes.
uptime_seconds Integer The uptime recorded in the last pulse, in seconds.
scrolls Integer The number of mouse scrolls recorded in the last pulse.
distance_miles Float The distance the mouse has moved in miles during the last pulse.

Example

require 'whatpulse-sdk'

instance = WhatpulseSdk::UserResourceLastPulse.new(
  date: null,
  keys: null,
  clicks: null,
  download_mb: null,
  upload_mb: null,
  uptime_seconds: null,
  scrolls: null,
  distance_miles: null
)