Sha256: 99399501c553f52b94767aa9589bf68b236ffef00e95c49fea35df904353e771

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

module Sis
  module Core
    class ApplicationRecord < ActiveRecord::Base
      self.abstract_class = true

      def self.serialize(data)
        ActiveModelSerializers::SerializableResource.new(data)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
sis_core-1.0.20 app/models/sis/core/application_record.rb
sis_core-1.0.19 app/models/sis/core/application_record.rb
sis_core-1.0.18 app/models/sis/core/application_record.rb
sis_core-1.0.17 app/models/sis/core/application_record.rb
sis_core-1.0.16 app/models/sis/core/application_record.rb