Sha256: fd1bf0a7612b89f3e0536163945c211c74c95aca39b46a4c4348eb5cf713dbf9
Contents?: true
Size: 483 Bytes
Versions: 2
Compression:
Stored size: 483 Bytes
Contents
module Mailstro class ListUnsubscribe < Resource attr_reader :contact_email, :list_type, :list_name def initialize(contact_email, list_type, list_name) @contact_email = contact_email @list_type = list_type @list_name = list_name end def deliver delete("lists/subscribers", :contact_email => @contact_email, :list_type => @list_type, :list_name => @list_name ) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mailstro-0.0.8 | lib/mailstro/list_unsubscribe.rb |
mailstro-0.0.7 | lib/mailstro/list_unsubscribe.rb |