Sha256: c12bd11582c2ed91b15aa293e26e2bc805b69e97bc5a21f6ffae332c0168274b

Contents?: true

Size: 227 Bytes

Versions: 4

Compression:

Stored size: 227 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
logistics_core-20.10.2 app/models/logistics/core/application_record.rb
logistics_core-20.10.1 app/models/logistics/core/application_record.rb
logistics_core-20.9.1 app/models/logistics/core/application_record.rb
logistics_core-20.8.1 app/models/logistics/core/application_record.rb