Sha256: a405998c641e4694b65e0b230deb1578b3511a17fdd902fc965750cd3635686f
Contents?: true
Size: 356 Bytes
Versions: 3
Compression:
Stored size: 356 Bytes
Contents
module SmsCarrier class TestCarrier attr_accessor :settings def initialize(settings) self.settings = settings end def deliver!(sms) TestCarrier.deliveries << sms end def self.deliveries @@deliveries ||= [] end def self.deliveries=(val) @@deliveries = val end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sms_carrier-0.1.2 | lib/sms_carrier/test_carrier.rb |
sms_carrier-0.1.1 | lib/sms_carrier/test_carrier.rb |
sms_carrier-0.1.0 | lib/sms_carrier/test_carrier.rb |