Class: ActionTexter::TestDelivery

Inherits:
Object
  • Object
show all
Defined in:
lib/action_texter/test_delivery.rb

Instance Method Summary collapse

Constructor Details

#initialize(config = {}) ⇒ TestDelivery

Returns a new instance of TestDelivery.



6
7
# File 'lib/action_texter/test_delivery.rb', line 6

def initialize(config = {})
end

Instance Method Details

#deliver(message) ⇒ Object



9
10
11
12
# File 'lib/action_texter/test_delivery.rb', line 9

def deliver(message)
  self.class.deliveries << message
  true
end