SMPPEX.Pdu.MessageState.code_by_name
You're seeing just the function
code_by_name
, go back to SMPPEX.Pdu.MessageState module for more information.
Specs
code_by_name(state_name()) :: state()
Converts atom representing message state to integer value.
Example
iex(1)> SMPPEX.Pdu.MessageState.code_by_name(:DELIVERED)
2