Sha256: 5fa4583934c3fa9fc8d8f02ee5622f9499e613fe458334b590d6201fb037c28c

Contents?: true

Size: 545 Bytes

Versions: 3

Compression:

Stored size: 545 Bytes

Contents

module Reparty
  class Email
    class << self
      def reports
        Reparty.reports
      end

      def weekly_reports
        Reparty.weekly_reports
      end

      def from
        Reparty.configuration.from || 'nobody@nowhere.com'
      end

      def subject
        Reparty.configuration.subject || "Reparty Report!"
      end

      def title
        Reparty.configuration.title || 'Your Daily Report:'
      end

      def weekly_title
        Reparty.configuration.weekly_title || 'Your Weekly Report:'
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reparty-0.5.2 lib/reparty/email.rb
reparty-0.5.1 lib/reparty/email.rb
reparty-0.5.0 lib/reparty/email.rb