View Source Bonfire.Quantify.Measure (bonfire v0.3.5-classic-beta.6)

Link to this section Summary

Link to this section 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()
}

Link to this section 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

update_changeset(measure, attrs)

View Source
Link to this function

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

View Source