Skip to content

Commit

Permalink
Update lib/generators/maktoub/templates/maktoub.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
zawaideh committed Apr 20, 2012
1 parent 737b3c9 commit 205e1fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/generators/maktoub/templates/maktoub.rb
Expand Up @@ -5,17 +5,16 @@
# Maktoub.logo = "logo.jpg" # path to your logo asset
# Maktoub.home_domain = "example.com" # your domain
# Maktoub.app_name = "Maktoub" # your app name
# Maktoub.unsubscribe_method = "unsubscribe" # method to call from unsubscribe link (doesn't include link by default)

# 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|
# (1..5).map 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
Expand Down

0 comments on commit 205e1fc

Please sign in to comment.