Class: Arafa::Message

Inherits:
Dry::Struct
  • Object
show all
Defined in:
lib/arafa/message.rb

Overview

Normalized outbound message description shared by every provider adapter's #send. Coercion/validation of to/text/from happens via the leaf types (Types::MsisdnList, Types::MessageText, Types::SenderId) the moment the struct is built.