Sha256: bf38d1443b0d30a9f71a09ed1f4a0c416d51db08054db68820f156e93821f1e5
Contents?: true
Size: 1005 Bytes
Versions: 2
Compression:
Stored size: 1005 Bytes
Contents
# Maktoub.from = "Test Sender <maktoub@example.com>" # the email the newsletter is sent from # Maktoub.twitter_url = "http://twitter.com/#!/twitter" # your twitter page # Maktoub.facebook_url = "http://www.facebook.com/facebook" # your facebook oage # Maktoub.subscription_preferences_url = "http://example.com/manage_subscriptions" #subscribers management url # Maktoub.logo = "logo.jpg" # path to your logo asset # Maktoub.home_domain = "example.com" # your domain # Maktoub.app_name = "Maktoub" # your app name # pass a block to subscribers_extractor that returns an object that reponds to :name and :email # (fields can be configured as shown below) # require "ostruct" # Maktoub.subscribers_extractor do # users = [] # (1..5).each do |i| # users << OpenStruct.new({name: "tester#{i}", email: "test#{i}@example.com"}) # end # return users # end # uncomment lines below to change subscriber fields that contain email and # Maktoub.email_field = :address # Maktoub.name_field = :nickname
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
maktoub-0.2.0 | lib/generators/maktoub/templates/maktoub.rb |
maktoub-0.1.0 | lib/generators/maktoub/templates/maktoub.rb |