Sha256: 12ff1a9c55fcbadde427f8011751b827e44467e99fdc46326224fceda4babe06
Contents?: true
Size: 476 Bytes
Versions: 32
Compression:
Stored size: 476 Bytes
Contents
module Comee module Core class Pod < ApplicationRecord enum :status, {draft: 0, confirmed: 1, signed: 2} has_many :shipment_instruction_items has_many :delivery_notes has_many :invoices validates :reference_no, :status, presence: true def self.ransackable_attributes(_auth_object = nil) %w[id reference_no status] end def self.ransackable_associations(_auth_object = nil) [] end end end end
Version data entries
32 entries across 32 versions & 1 rubygems