Sha256: 23bf9e175a876cb3722f836225ac4a71953d7dfbf59908863ac51e7765ab5e21

Contents?: true

Size: 213 Bytes

Versions: 5

Compression:

Stored size: 213 Bytes

Contents

module Commontator
  module SubscriptionsHelper
    def email(subscriber)
      config = subscriber.commontator_config
      config.email_method.blank? ? '' : subscriber.send config.email_method
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
commontator-0.4.1 app/helpers/commontator/subscriptions_helper.rb~
commontator-0.3.10 app/helpers/commontator/subscriptions_helper.rb~
commontator-0.2.4 app/helpers/commontator/subscriptions_helper.rb~
commontator-0.2.0 app/helpers/commontator/subscriptions_helper.rb~
commontator-0.1.46 app/helpers/commontator/subscriptions_helper.rb~