Sha256: 3d68c5d942e3e08b1ca3a4dece6e3cf31d7d546b28c0808a5a377c5bcd1db766

Contents?: true

Size: 146 Bytes

Versions: 106

Compression:

Stored size: 146 Bytes

Contents

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

Version data entries

106 entries across 106 versions & 1 rubygems

Version Path
ecom_core-1.0.5 app/models/ecom/core/currency.rb
ecom_core-1.0.4 app/models/ecom/core/currency.rb
ecom_core-1.0.3 app/models/ecom/core/currency.rb
ecom_core-1.0.2 app/models/ecom/core/currency.rb
ecom_core-1.0.1 app/models/ecom/core/currency.rb
ecom_core-1.0.0 app/models/ecom/core/currency.rb