#Spree::Address.class_eval do

 # def create
  #  Address.create(address_params)
  #end

  #private

  #def address_params
   # params.permit(:address_number, :district)
  #end



  #validates :address_number, :district, presence: true
  #validates :zipcode,:format => { :with => /^(\d){5}-(\d){3}$/, multiline:true }
  #validates :phone, :format => { :with => /^\((\d){2}\)(\d){4}-(\d){4,5}$/ , multiline:true}
#end
