Sha256: fa1fa6f6e407dc1ef9d67349521579db29cfb9178d2dd37e209cfc8cdf2a2c11

Contents?: true

Size: 425 Bytes

Versions: 5

Compression:

Stored size: 425 Bytes

Contents

module Clearance
  module App
    module Models
      module ClearanceFacebookMailer
        def self.included(base)
          base.class_eval do
            include InstanceMethods
          end
        end
    
        module InstanceMethods
          def facebook_welcome(user)
            subject "[#{PROJECT_NAME.humanize}]  Welcome!"
            body :user => user
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hashrocket-clearance-0.4.0 lib/clearance/app/models/clearance_facebook_mailer.rb
hashrocket-clearance-0.4.1 lib/clearance/app/models/clearance_facebook_mailer.rb
hashrocket-clearance-0.4.2 lib/clearance/app/models/clearance_facebook_mailer.rb
hashrocket-clearance-0.4.3 lib/clearance/app/models/clearance_facebook_mailer.rb
hashrocket-clearance-0.4.4 lib/clearance/app/models/clearance_facebook_mailer.rb