Sha256: bc3d7bb173edbbda612f686e53f563318c9254fbc08020540cb212fcb4d8f16e

Contents?: true

Size: 389 Bytes

Versions: 3

Compression:

Stored size: 389 Bytes

Contents

module Scidea
  module Hsfc
    module Policies
      module Models
        module Profile
          extend ActiveSupport::Concern

          included do
            validates :agrees_to_privacy_policy, :acceptance => true, :on => :create
            validates :agrees_to_terms, :acceptance => true, :on => :create
          end

        end # profile
      end # models
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scidea-hsfc-policies-0.0.3 lib/scidea/hsfc/policies/models/profile.rb
scidea-hsfc-policies-0.0.2 lib/scidea/hsfc/policies/models/profile.rb
scidea-hsfc-policies-0.0.1 lib/scidea/hsfc/policies/models/profile.rb