Sha256: f81d6b9ccf2dd2aea7277ef235b6ab2370a392078220858c3e97d6157b326359

Contents?: true

Size: 195 Bytes

Versions: 1

Compression:

Stored size: 195 Bytes

Contents

module AddressValidations
  extend ActiveSupport::Concern

  prepended do
    validates :number, presence: true
    validates :district, presence: true
  end

  ::Spree::Address.prepend self
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_brazilian_adaptations-1.0.6 app/overrides/address_validations.rb