Class: Arafa::Contracts::AirtimeContract

Inherits:
Dry::Validation::Contract
  • Object
show all
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.

Direct Known Subclasses

AfricasTalkingAirtimeContract