Sha256: 467cbf7160cb3b583c4a03e938755784719afe3a88b4c8bdcb5b515ca4b755a7

Contents?: true

Size: 254 Bytes

Versions: 3

Compression:

Stored size: 254 Bytes

Contents

require 'share_progress'
require 'share_progress/variant'

module ShareProgress
  class EmailVariant < Variant

    def self.type
      'email'
    end

    def self.fields
      [:email_subject, :email_body]
    end

    attr_accessor *fields
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
share_progress-0.1.2 lib/share_progress/email_variant.rb
share_progress-0.1.1 lib/share_progress/email_variant.rb
share_progress-0.1.0 lib/share_progress/email_variant.rb