Class: ActiveNotify::TestDelivery

Inherits:
Object
  • Object
show all
Defined in:
lib/active_notify/testing.rb

Defined Under Namespace

Modules: Behavior

Class Method Summary collapse

Class Method Details

.enabled?Boolean

Returns:

  • (Boolean)


13
14
15
# File 'lib/active_notify/testing.rb', line 13

def enabled?
  enabled
end

.track(delivery) ⇒ Object



9
10
11
# File 'lib/active_notify/testing.rb', line 9

def track(delivery)
  deliveries << delivery
end