BamboohrApi.Entity behaviour (BambooHR API v0.0.1) View Source

Base Entity for BamboohrApi

Link to this section Summary

Link to this section Functions

Link to this function

define_action_functions(actions)

View Source
Link to this function

define_struct(enforce_keys, optional_keys)

View Source

Link to this section Callbacks

Link to this callback

request(action, params, config, method)

View Source

Specs

request(
  action :: atom(),
  params :: map(),
  config :: BamboohrApi.Config.t(),
  method :: atom()
) :: map() | [map()] | {:error, term()}
Link to this callback

resolve_response(action, term)

View Source

Specs

resolve_response(action :: atom(), term()) :: term()