View Source Bonfire.Quantify.Measure (Bonfire v0.9.10-classic-beta.169)

Summary

Types

@type t() :: %Bonfire.Quantify.Measure{
  __meta__: term(),
  creator: term(),
  creator_id: term(),
  deleted_at: term(),
  disabled_at: term(),
  has_numerical_value: term(),
  id: term(),
  is_disabled: term(),
  is_public: term(),
  published_at: term(),
  unit: term(),
  unit_id: term(),
  updated_at: term()
}

Functions

Copy the attributes of a measure required to create a new one.

Link to this function

create_changeset(creator, unit, attrs)

View Source
Link to this function

get(struct, key, default \\ nil)

View Source
Link to this function

update_changeset(measure, attrs)

View Source
Link to this function

validate_changeset(measure \\ %__MODULE__{}, attrs)

View Source