Particle Api Client v0.2.0 Particle.Variables View Source

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

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Particle.Variables{name: binary(), result: binary()}

Link to this section Functions

Link to this function get(device_id, variable_name) View Source
get(binary(), binary()) :: {:ok, any()} | Particle.Error.t()
Link to this function get_all_with_values(device_id) View Source
get_all_with_values(binary()) ::
  {:ok, %{key: Atom}} |
  Particle.Error.t()