Sha256: 45c2f4b3623eec5f52c0d11db9322701a7e864d91da6ca7f6c0e02e3109b55c6

Contents?: true

Size: 482 Bytes

Versions: 1

Compression:

Stored size: 482 Bytes

Contents

module GiJob
  module Models
    module Concerns
      module GiJobLoggable

        extend ActiveSupport::Concern

        included do # begin included

          belongs_to :gi_job_transaction

          enum level: {
            info:    100,
            warning: 200,
            error:   300,
          }, _prefix: true

        end # end included

        class_methods do # begin class_methods
        end # end class_methods

      end # end GiJobLoggable
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gi_job-0.1.3 lib/gi_job/models/concerns/gi_job_loggable.rb