Sha256: 8f7006ef15fc64aadac9756a6ac34d1ddab1e390252754688aa9d6f67e1c045a

Contents?: true

Size: 147 Bytes

Versions: 5

Compression:

Stored size: 147 Bytes

Contents

module Ecom
  module Model
    class Currency < ApplicationRecord
      validates :code, :name, presence: true, uniqueness: true
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecom_model-2.0.4 app/models/ecom/model/currency.rb
ecom_model-2.0.3 app/models/ecom/model/currency.rb
ecom_model-2.0.2 app/models/ecom/model/currency.rb
ecom_model-2.0.1 app/models/ecom/model/currency.rb
ecom_model-2.0.0 app/models/ecom/model/currency.rb