Sha256: 8d2e03f76d14670274174ecbc8568c657de1f48f90ed3533ca87021942597f2a

Contents?: true

Size: 424 Bytes

Versions: 1

Compression:

Stored size: 424 Bytes

Contents

module BloomRemit
  class Biller < ActiveRecord::Base

    scope :active, -> { where(deactivated_at: nil) }

    include Storext.model
    store_attributes(:fields) do
      first_field String
      first_field_format String
      first_field_width Integer
      second_field String
      second_field_format String
      second_field_width Integer
    end

    def active?
      self.deactivated_at.nil?
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bloom_remit-0.0.1 app/models/bloom_remit/biller.rb