Sha256: 2de5fbebfa2128c72fac2258ab3a07a2f9dce234a58f6bb17162c55e39587be8

Contents?: true

Size: 214 Bytes

Versions: 5

Compression:

Stored size: 214 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