Sha256: ee7aa83f48ef807726afbedf64fa920b7e5710782e80bb1daa3d3580162d4f91

Contents?: true

Size: 178 Bytes

Versions: 1

Compression:

Stored size: 178 Bytes

Contents

# frozen_string_literal: true

module Spree
  class Newsletter < Spree::Base
    validates :name, presence: true
    validates :email, presence: true, uniqueness: true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_newsletter-1.1 app/models/spree/newsletter.rb