Sha256: 4b36fd768cc4749a4e01b91fdfc6dca96b3c67ee5bc5e6386ea7be5828aa6e85

Contents?: true

Size: 524 Bytes

Versions: 21

Compression:

Stored size: 524 Bytes

Contents

# frozen_string_literal: true

# Module Mutils
module Mutils
  module Serialization
    # Module SerializationIncludes
    module SerializationIncludes
      def self.included(base)
        base.class_eval do
          class << self
            attr_accessor :serializer_name,
                          :include_root,
                          :relationships,
                          :attributes_to_serialize,
                          :attributes_to_serialize_blocks
          end
        end
      end
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
mutils-0.2.37 lib/mutils/serialization/serialization_includes.rb