Sha256: 7783ddb5de8038b47cb19f7dee07c66c13ad8b5a572c1dfd9e5d3f7855503a40

Contents?: true

Size: 233 Bytes

Versions: 8

Compression:

Stored size: 233 Bytes

Contents

module Mailkick
  module UrlHelper
    def mailkick_unsubscribe_url(subscriber, list, **options)
      token = Mailkick.generate_token(subscriber, list)
      mailkick.unsubscribe_subscription_url(token, **options)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mailkick-1.2.2 lib/mailkick/url_helper.rb
mailkick-1.2.1 lib/mailkick/url_helper.rb
mailkick-1.2.0 lib/mailkick/url_helper.rb
mailkick-1.1.2 lib/mailkick/url_helper.rb
mailkick-1.1.1 lib/mailkick/url_helper.rb
mailkick-1.1.0 lib/mailkick/url_helper.rb
mailkick-1.0.1 lib/mailkick/url_helper.rb
mailkick-1.0.0 lib/mailkick/url_helper.rb