Class: Arafa::Contracts::AirtimeContract
- Inherits:
-
Dry::Validation::Contract
- Object
- Dry::Validation::Contract
- Arafa::Contracts::AirtimeContract
- Defined in:
- lib/arafa/contracts/airtime_contract.rb
Overview
Structural + business rules for an outgoing airtime request (ยง1.6),
applied before any HTTP call is made. Doesn't share BaseContract
since airtime payloads have nothing in common with an SMS to:/text:
payload.