Sha256: 926d93008e4b557a4bd3f2bcc7050d2f9bb0ec22589989c667d534b4003294fe

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

module Mokio
  module Concerns
    module Models
      #
      # Concern for Recipient model
      #
      module Recipient
        extend ActiveSupport::Concern

        included do
          belongs_to :contact
          belongs_to :base_contact

          validates :email, :email => true
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mokio-0.0.15 lib/mokio/concerns/models/recipient.rb
mokio-0.0.14 lib/mokio/concerns/models/recipient.rb