Particle Api Client v0.1.0 Particle.Device

This module defines the actions that can be taken on the Device endpoint.

Summary

Types

error :: {:error, binary, Integer}
fatal :: {:error, binary}
t :: %Particle.Device{connected: Boolean, functions: [binary], id: binary, name: binary, variables: %{optional(Atom) => binary}}

Functions

events(device_id)

Specs

events(binary) :: Enumerable.t
get(device_id)

Specs

get(binary) :: {:ok, t} | error | fatal