Sha256: f33f31dce271e3ca131a95e92ce15193ff073d60f7c0e7a33f009b89ad750b25
Contents?: true
Size: 403 Bytes
Versions: 16
Compression:
Stored size: 403 Bytes
Contents
# frozen_string_literal: true module PriceHubble module EntityConcern # Define all the base callbacks of a common entity. module Callbacks extend ActiveSupport::Concern class_methods do include ActiveModel::Callbacks end included do # Define all the base callbacks define_model_callbacks :initialize, only: :after end end end end
Version data entries
16 entries across 16 versions & 1 rubygems