Sha256: 4f02ab9848bf38647935bbfaf9bc76c66c5d77adbc7877d530c6dd0970a2c328
Contents?: true
Size: 527 Bytes
Versions: 5
Compression:
Stored size: 527 Bytes
Contents
module Outbox module Clients # The TestClient is a bare bones client that does nothing. It is useful # when you are testing. # # It also provides a template of the minimum methods required to make # a custom client. class TestClient < Base # Provides a store of all the message sent with the TestClient so you # can check them. def self.deliveries @@deliveries ||= [] end def deliver(message) self.class.deliveries << message end end end end
Version data entries
5 entries across 5 versions & 1 rubygems