View Source Glific.Partners.Provider (Glific v5.1.6)
Provider are the third party Business Service providers who will give a access of WhatsApp API
Link to this section Summary
Functions
A centralize function to get the currently active provider module. As this point of time we can not construct this module name dynamically that's why these are static for now.
Standard changeset pattern we use for all data types
Link to this section Types
@type t() :: %Glific.Partners.Provider{ __meta__: Ecto.Schema.Metadata.t(), credential: term(), description: String.t() | nil, group: String.t() | nil, id: non_neg_integer() | nil, inserted_at: term(), is_required: boolean(), keys: map() | nil, name: String.t() | nil, organizations: term(), secrets: map() | nil, shortcode: String.t() | nil, updated_at: term() }
Link to this section Functions
@spec bsp_module(binary() | non_neg_integer(), any()) :: any()
A centralize function to get the currently active provider module. As this point of time we can not construct this module name dynamically that's why these are static for now.
@spec changeset(t(), map()) :: Ecto.Changeset.t()
Standard changeset pattern we use for all data types